# Allow for the formatting command to fail without exiting the script. set +e pnpm --silent ng-dev format staged 2>/dev/null if [ $? -ne 0 ]; then echo "WARNING: failed to run file formatting (ng-dev format staged)" fi