mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-19 16:43:34 -04:00
!10 Modify the path name in the npm-install.js
Merge pull request !10 from zgy-ian/master
This commit is contained in:
@@ -26,11 +26,11 @@ if (!fs.existsSync(arkDir)) {
|
||||
let isWin = !1;
|
||||
let isMac = !1;
|
||||
|
||||
if (fs.existsSync(path.join(arkDir, "build"))) {
|
||||
if (fs.existsSync(path.join(arkDir, "build-win"))) {
|
||||
isWin = !0;
|
||||
} else if (fs.existsSync(path.join(arkDir, "build-win"))) {
|
||||
} else if (fs.existsSync(path.join(arkDir, "build-mac"))) {
|
||||
isMac = !0;
|
||||
} else if (!fs.existsSync(path.join(arkDir, "build-mac"))) {
|
||||
} else if (!fs.existsSync(path.join(arkDir, "build"))) {
|
||||
throw Error("Error: find build fail").message;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user