Skip to content

Commit

Permalink
make script return value more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Jan 12, 2024
1 parent ddc623f commit e91bce6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/webapp/run_rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,7 @@ rm -rf "${build_output_folder}.bak"
if [ -d "${build_output_folder}" ]; then
mv -f "${build_output_folder}" "${build_output_folder}.bak"
fi
npm run build
if ! npm run build ; then
echo "ERROR: rebuild of Web App failed!"
exit 1
fi

0 comments on commit e91bce6

Please sign in to comment.