From 50e9a535473ec638c7fd3d4a86fb72e01bb3a960 Mon Sep 17 00:00:00 2001 From: Nawaz Dhandala Date: Wed, 29 Oct 2025 16:26:40 +0000 Subject: [PATCH] chore(ci): don't mark whole run as failed when npm audit fix errors; only report the error --- npm-audit-fix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm-audit-fix.sh b/npm-audit-fix.sh index a288245b5b..ebecd86b8c 100644 --- a/npm-audit-fix.sh +++ b/npm-audit-fix.sh @@ -26,7 +26,7 @@ while IFS= read -r -d '' package_json; do if ! npm audit fix; then echo "npm audit fix failed in ${DISPLAY_DIR:-.}" >&2 - EXIT_CODE=1 + # In this case do not do anyting, just report the error fi cd "$ROOT_DIR"