Skip to content

Commit 913acc4

Browse files
committed
Ensure Install shfmt step fails when download fails
1 parent d7948db commit 913acc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,9 @@ jobs:
10221022
- checkout
10231023
- run:
10241024
name: Install shfmt
1025-
command: curl -sS https://webinstall.dev/shfmt | bash
1025+
command: |
1026+
wget -O install_shfmt.sh https://webinstall.dev/shfmt
1027+
bash install_shfmt.sh
10261028
- run:
10271029
name: Validate Markdown files
10281030
command: devtools/format_md.sh -c

0 commit comments

Comments
 (0)