Skip to content

Commit 27567ab

Browse files
committed
fix: ignore intended error code
1 parent e9b0157 commit 27567ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/commands/outdated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class Outdated extends ArboristWorkspaceCmd {
204204
} catch (err) {
205205
// silently catch and ignore ETARGET, E403 & E404 errors
206206
// deps are just skipped
207-
if (!['ETARGET', 'E404', 'E404'].includes(err.code)) {
207+
if (!['ETARGET', 'E403', 'E404'].includes(err.code)) {
208208
throw err
209209
}
210210
}

0 commit comments

Comments
 (0)