We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba29fb9 commit 6a25422Copy full SHA for 6a25422
packages/@angular/cli/upgrade/version.ts
@@ -54,7 +54,7 @@ export class Version {
54
const angularCliPath = resolve.sync('@angular/cli', {
55
basedir: process.cwd(),
56
packageFilter: (pkg: any, _pkgFile: string) => {
57
- packageJson = pkg;
+ return packageJson = pkg;
58
}
59
});
60
if (angularCliPath && packageJson) {
0 commit comments