chore(ci): don't mark whole run as failed when npm audit fix errors; only report the error

This commit is contained in:
Nawaz Dhandala
2025-10-29 16:26:40 +00:00
parent d0de004498
commit 50e9a53547

View File

@@ -26,7 +26,7 @@ while IFS= read -r -d '' package_json; do
if ! npm audit fix; then if ! npm audit fix; then
echo "npm audit fix failed in ${DISPLAY_DIR:-.}" >&2 echo "npm audit fix failed in ${DISPLAY_DIR:-.}" >&2
EXIT_CODE=1 # In this case do not do anyting, just report the error
fi fi
cd "$ROOT_DIR" cd "$ROOT_DIR"