mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-20 19:47:44 -04:00
!1000 fix worker build path
Merge pull request !1000 from zrg/fix_worker_release
This commit is contained in:
@@ -102,7 +102,9 @@ function writeFileSync(inputString: string, output: string, jsBundleFile: string
|
||||
if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) {
|
||||
mkDir(parent);
|
||||
}
|
||||
const sufStr: string = output.replace(buildPathInfo, '');
|
||||
|
||||
let buildParentPath: string = path.join(buildPathInfo, '..');
|
||||
let sufStr: string = output.replace(buildParentPath, '');
|
||||
let cacheOutputPath: string = "";
|
||||
if (process.env.cachePath) {
|
||||
cacheOutputPath = path.join(process.env.cachePath, "temporary", sufStr);
|
||||
|
||||
Reference in New Issue
Block a user