mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +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) {
|
||||
const installedVersion = getInstalledVersion(name)
|
||||
if (!installedVersion) {
|
||||
return // Ignore to avoid false-positive warnings
|
||||
continue // Ignore to avoid false-positive warnings
|
||||
}
|
||||
const expectedRange = dependencies[name]
|
||||
if (!satisfies(installedVersion, expectedRange)) {
|
||||
|
Loading…
Reference in New Issue
Block a user