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
No known key found for this signature in database
GPG key ID: 96C5DCA24769DBCA

View file

@ -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"