diff --git a/src/node/processor/FileCacheProcessor.ts b/src/node/processor/FileCacheProcessor.ts index ea53b43..348ef11 100644 --- a/src/node/processor/FileCacheProcessor.ts +++ b/src/node/processor/FileCacheProcessor.ts @@ -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) }