From 27567ab27bef8af303bde0b2d7da0386da182b81 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 17 Apr 2026 13:03:44 -0700 Subject: [PATCH] fix: ignore intended error code --- lib/commands/outdated.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/outdated.js b/lib/commands/outdated.js index e6f2cd006b60f..9140cdbc9fea5 100644 --- a/lib/commands/outdated.js +++ b/lib/commands/outdated.js @@ -204,7 +204,7 @@ class Outdated extends ArboristWorkspaceCmd { } catch (err) { // silently catch and ignore ETARGET, E403 & E404 errors // deps are just skipped - if (!['ETARGET', 'E404', 'E404'].includes(err.code)) { + if (!['ETARGET', 'E403', 'E404'].includes(err.code)) { throw err } }