Skip to content

Commit 421a18c

Browse files
authored
Update VersionsJSONUtil.jl
1 parent 71aa153 commit 421a18c

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

src/VersionsJSONUtil.jl

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -273,23 +273,6 @@ function main(out_path)
273273

274274
end
275275

276-
# Build up metadata about this file
277-
if endswith(filename, ".dmg")
278-
kind = "archive"
279-
extension = "dmg"
280-
elseif endswith(filename, ".exe")
281-
kind = "installer"
282-
extension = "exe"
283-
elseif endswith(filename, ".tar.gz")
284-
kind = "archive"
285-
extension = "tar.gz"
286-
elseif endswith(filename, ".zip")
287-
kind = "archive"
288-
extension = "zip"
289-
else
290-
error("Unsupported file extension in filename: $(filename)")
291-
end
292-
293276
headinfo = get_new_headinfo_for_url(url)
294277

295278
file_dict = Dict(

0 commit comments

Comments
 (0)