mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
chore(ci): don't mark whole run as failed when npm audit fix errors; only report the error
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user