mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-08-26 18:46:33 -04:00
fix move temp module file to build dir
Signed-off-by: zhangrengao <zhangrengao1@huawei.com> Change-Id: I2d5afa75204ad8e17a67e781a75442224032f233
This commit is contained in:
@@ -687,7 +687,7 @@ function filterIntermediateModuleByHashJson(buildPath: string, moduleInfos: Arra
|
||||
updateJsonObject[input] = hashInputContentData;
|
||||
updateJsonObject[abcPath] = hashAbcContentData;
|
||||
mkdirsSync(path.dirname(moduleInfos[i].buildFilePath));
|
||||
if (projectConfig.buildArkMode === 'debug' && fs.existsSync(filterModuleInfos[i].tempFilePath)) {
|
||||
if (projectConfig.buildArkMode === 'debug' && fs.existsSync(moduleInfos[i].tempFilePath)) {
|
||||
fs.copyFileSync(moduleInfos[i].tempFilePath, moduleInfos[i].buildFilePath);
|
||||
}
|
||||
fs.copyFileSync(genAbcFileName(moduleInfos[i].tempFilePath), genAbcFileName(moduleInfos[i].buildFilePath));
|
||||
|
||||
Reference in New Issue
Block a user