Skip to content

Commit

Permalink
filename same as rootdir not downloading
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhimanyuAryan committed Apr 10, 2023
1 parent a17f7a4 commit 51a9d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/resources/applications/ApplicationsController.jl
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ function download(app)
f = open(filepath, "r")
content = read(f, String)
close(f)
zipfilepath = appname * split(filepath, appname)[2]
zipfilepath = joinpath(appname, split(filepath, "$appname/")[2])
zf = ZipFile.addfile(w, zipfilepath; method=(compress ? ZipFile.Deflate : ZipFile.Store))
write(zf, content)
end
Expand Down

0 comments on commit 51a9d4f

Please sign in to comment.