Skip to content

Commit

Permalink
fix another download issue
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkyAI committed Mar 21, 2021
1 parent d0fd86d commit 7ed62c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voodoo/src/main/kotlin/voodoo/cli/UpdateCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class UpdateCommand : CliktCommand(
// validate the file exists and matches checksum
val tmpFile = cacheHome.resolve(distributionUrl.substringAfterLast("/"))
tmpFile.delete()
tmpFile.download(distributionUrl, cacheDir = cacheHome)
tmpFile.download(distributionUrl, cacheDir = null)
useClient { client ->
val md5 = client.get<String>(distributionUrl + ".md5")
val fileMd5 = createMD5(tmpFile).toHexString()
Expand Down

0 comments on commit 7ed62c3

Please sign in to comment.