Skip to content

Commit

Permalink
fix(cli): don't early return when a dependency isn't installed (#8841)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Feb 16, 2021
1 parent 3cd9d67 commit d58c4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/utils/dependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit d58c4f7

Please sign in to comment.