mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-08-26 18:46:33 -04:00
modify errorfile path tip Signed-off-by: yfwang6 <wangyongfei6@huawei.com> Change-Id: I4470f5c63cbffefba390368f7c3c23082fcd3114
This commit is contained in:
+2
-1
@@ -102,7 +102,8 @@ function loadEntryObj(projectConfig) {
|
||||
if (fs.existsSync(fileName)) {
|
||||
projectConfig.entryObj['./' + sourcePath] = fileName + '?entry';
|
||||
} else {
|
||||
throw Error(`\u001b[31m ERROR: page '${fileName}' does not exist. \u001b[39m`).message;
|
||||
const errorFileName = path.resolve(projectConfig.projectPath, sourcePath + '.ets');
|
||||
throw Error(`\u001b[31m ERROR: page '${errorFileName}' does not exist. \u001b[39m`).message;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user