Skip to content

Commit b44df23

Browse files
authored
Merge branch 'master' into mdonev/deprecated-api-fix
2 parents f9c61e3 + 40878ff commit b44df23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nativescript-angular/bin/update-app-ng-deps

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function updateDeps(deps, devDeps, newDeps) {
5656
}
5757

5858
const pluginDeps = pluginPackageJson.peerDependencies;
59-
const projectPath = process.env.INIT_CWD || process.cwd() || path.dirname(path.dirname(pluginPath));
59+
const projectPath = process.env.INIT_CWD || path.dirname(path.dirname(path.dirname(pluginPath)));
6060
const appPackageJsonPath = path.join(projectPath, "package.json");
6161
const appPackageJson = JSON.parse(fs.readFileSync(appPackageJsonPath, "utf8"));
6262

0 commit comments

Comments
 (0)