Skip to content

Commit

Permalink
fix(core): create the parent directories of the cache file
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce committed Nov 1, 2023
1 parent 63b8330 commit 1795dcb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ fun ObjectMapper.cachedVersionManifest(cacheFile: Path): VersionManifest {

url.httpRequest {
if (it.ok) {
cacheFile.createDirectories()
cacheFile.parent.createDirectories()
it.copyTo(cacheFile)

return readValue(cacheFile)
Expand Down

0 comments on commit 1795dcb

Please sign in to comment.