mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-20 19:47:44 -04:00
toUnitPath of jsbundle
Signed-off-by: zhangrengao <zhangrengao1@huawei.com> Change-Id: Ic6e8e55b86b5982f7131a4f0e783cc867d35fd23
This commit is contained in:
@@ -361,6 +361,8 @@ function writeFileSync(inputString: string, output: string, jsBundleFile: string
|
||||
let sufStr: string = output.replace(buildParentPath, '');
|
||||
let cacheOutputPath: string = "";
|
||||
if (process.env.cachePath) {
|
||||
output = toUnixPath(output);
|
||||
cacheOutputPath = toUnixPath(cacheOutputPath);
|
||||
cacheOutputPath = path.join(process.env.cachePath, TEMPORARY, sufStr);
|
||||
} else {
|
||||
cacheOutputPath = output;
|
||||
|
||||
Reference in New Issue
Block a user