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 c5d7911 commit b51ec1cCopy full SHA for b51ec1c
src/helpers/getAngularVersion.js
@@ -8,7 +8,7 @@ const { readJSON } = require('fs-extra')
8
const getAngularVersion = async function (root) {
9
let packagePath
10
try {
11
- // eslint-disable-next-line n/no-extraneous-require
+ // eslint-disable-next-line n/no-missing-require
12
packagePath = require.resolve('@angular/core/package.json', { paths: [root] })
13
} catch {
14
// module not found
0 commit comments