mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
fix(cli): don't early return when a dependency isn't installed (#8841)
This commit is contained in:
parent
3cd9d67825
commit
d58c4f7299
@ -20,7 +20,7 @@ export function checkDependencies () {
|
|||||||
for (const name in dependencies) {
|
for (const name in dependencies) {
|
||||||
const installedVersion = getInstalledVersion(name)
|
const installedVersion = getInstalledVersion(name)
|
||||||
if (!installedVersion) {
|
if (!installedVersion) {
|
||||||
return // Ignore to avoid false-positive warnings
|
continue // Ignore to avoid false-positive warnings
|
||||||
}
|
}
|
||||||
const expectedRange = dependencies[name]
|
const expectedRange = dependencies[name]
|
||||||
if (!satisfies(installedVersion, expectedRange)) {
|
if (!satisfies(installedVersion, expectedRange)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user