mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-21 03:55:23 -04:00
!1021 Fix path is cache path
Merge pull request !1021 from zrg/fix_cache_path
This commit is contained in:
@@ -733,7 +733,7 @@ function writeHashJson(): void {
|
||||
mkdirsSync(path.dirname(abcFile));
|
||||
fs.copyFileSync(cacheAbcFilePath, abcFile);
|
||||
}
|
||||
if (fs.existsSync(intermediateJsBundle[i].path)) {
|
||||
if (process.env.cachePath === undefined && fs.existsSync(intermediateJsBundle[i].path)) {
|
||||
fs.unlinkSync(intermediateJsBundle[i].path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user