Skip to content

Commit

Permalink
fix: windows path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hemengke1997 committed May 25, 2024
1 parent 1b9858a commit 4b25d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/processor/FileCacheProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class FileCacheProcessor extends ManifestCacheProcessor {

const jsFilePath = this.setCache(args, globalConfig.all)

fs.ensureDirSync(normalizePath(path.dirname(jsFilePath)))
fs.ensureDir(path.dirname(normalizePath(jsFilePath)))

writeFile(jsFilePath, code)
}
Expand Down

0 comments on commit 4b25d1b

Please sign in to comment.