mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-20 19:47:44 -04:00
!1002 fix worker build path
Merge pull request !1002 from zrg/fix_worker
This commit is contained in:
@@ -357,7 +357,8 @@ function writeFileSync(inputString: string, output: string, jsBundleFile: string
|
||||
if (!(fs.existsSync(parent) && fs.statSync(parent).isDirectory())) {
|
||||
mkDir(parent);
|
||||
}
|
||||
const sufStr: string = output.replace(projectConfig.buildPath, '');
|
||||
let buildParentPath: string = path.join(projectConfig.buildPath, '..');
|
||||
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