mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
tools: do not swallow error in lint-nix workflow
PR-URL: https://github.com/nodejs/node/pull/62292 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
This commit is contained in:
1 parent
56aba88702
commit
4ee467f912
1 file changed
+6
-1
@@ -154,7 +154,12 @@ jobs:
|
||||
run: |
|
||||
nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run '
|
||||
treefmt --quiet --ci
|
||||
' || git --no-pager diff --exit-code
|
||||
' && EXIT_CODE="$?" || EXIT_CODE="$?"
|
||||
if [ "$EXIT_CODE" != "0" ]
|
||||
then
|
||||
git --no-pager diff || true
|
||||
exit "$EXIT_CODE"
|
||||
fi
|
||||
|
||||
lint-py:
|
||||
if: github.event.pull_request.draft == false
|
||||
|
||||
Reference in new issue
Block a user