Skip to content

Commit

Permalink
fix: fix false positive of hasProjectNpm (#5264)
Browse files Browse the repository at this point in the history
  • Loading branch information
sodatea committed Mar 19, 2020
1 parent 137e7a7 commit 0609b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-shared-utils/lib/env.js
Expand Up @@ -136,7 +136,7 @@ const _npmProjects = new LRU({
})
exports.hasProjectNpm = (cwd) => {
if (_npmProjects.has(cwd)) {
return true
return _npmProjects.get(cwd)
}

const lockFile = path.join(cwd, 'package-lock.json')
Expand Down

0 comments on commit 0609b1b

Please sign in to comment.