Skip to content

Commit 42914e4

Browse files
committed
fix(@angular/cli): update real package dep
Fix #8202
1 parent 1abd7b0 commit 42914e4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lib/bootstrap-local.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ if (!__dirname.match(new RegExp(`\\${path.sep}node_modules\\${path.sep}`))) {
7979
const p = path.join(packages[match].root, request.substr(match.length));
8080
return oldLoad.call(this, p, parent);
8181
} else {
82-
try {
83-
if (isAngularProject) {
84-
return oldLoad.call(this, resolve.sync(request, { basedir: process.cwd() }), parent);
85-
}
86-
} catch (e) {
87-
// Do nothing. Fallback to the old method.
88-
}
82+
// try {
83+
// if (isAngularProject) {
84+
// return oldLoad.call(this, resolve.sync(request, { basedir: process.cwd() }), parent);
85+
// }
86+
// } catch (e) {
87+
// // Do nothing. Fallback to the old method.
88+
// }
8989

9090
return oldLoad.apply(this, arguments);
9191
}

packages/@angular/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@ngtools/webpack": "1.8.0-rc.3",
3434
"@schematics/angular": "~0.0.48",
3535
"autoprefixer": "^6.5.3",
36-
"chalk": "^2.0.1",
36+
"chalk": "~2.2.0",
3737
"circular-dependency-plugin": "^3.0.0",
3838
"common-tags": "^1.3.1",
3939
"copy-webpack-plugin": "^4.1.1",

0 commit comments

Comments
 (0)