mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
!2 Fix preview mode abc file not work
Merge pull request !2 from zrg/fix_preview_0816_9_21
This commit is contained in:
@@ -841,7 +841,7 @@ function writeHashJson(): void {
|
||||
process.exitCode = FAIL;
|
||||
break;
|
||||
}
|
||||
if (!fs.existsSync(abcFile)) {
|
||||
if (process.env.cachePath !== undefined) {
|
||||
mkdirsSync(path.dirname(abcFile));
|
||||
fs.copyFileSync(cacheAbcFilePath, abcFile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user