pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/nodejs/node/commit/4ee467f91254fdd5d9a1c328edd2e3fc5b541943

/> tools: do not swallow error in `lint-nix` workflow · nodejs/node@4ee467f · GitHub
Skip to content

Commit 4ee467f

Browse files
authored
tools: do not swallow error in lint-nix workflow
PR-URL: #62292 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tierney Cyren <hello@bnb.im>
1 parent 56aba88 commit 4ee467f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/linters.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,12 @@ jobs:
154154
run: |
155155
nix-shell -I nixpkgs=./tools/nix/pkgs.nix -p 'nixfmt-tree' --run '
156156
treefmt --quiet --ci
157-
' || git --no-pager diff --exit-code
157+
' && EXIT_CODE="$?" || EXIT_CODE="$?"
158+
if [ "$EXIT_CODE" != "0" ]
159+
then
160+
git --no-pager diff || true
161+
exit "$EXIT_CODE"
162+
fi
158163
159164
lint-py:
160165
if: github.event.pull_request.draft == false

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy