Skip to content

Commit

Permalink
Merge pull request #7 from stanhu/sh-fail-fast-curl
Browse files Browse the repository at this point in the history
Fail fast when curl downloads fail
  • Loading branch information
hypnoglow authored Jan 14, 2025
2 parents fee877b + 1fc45ab commit efee48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ install_golangci_lint() {
local -r download_path="${tmp_download_dir}/${filename}"

echo "Downloading ${app_name} from ${download_url} to ${download_path}"
curl -sSLo ${download_path} ${download_url}
curl --fail -sSLo ${download_path} ${download_url}

echo "Creating bin directory"
mkdir -p "${bin_install_path}"
Expand Down

0 comments on commit efee48a

Please sign in to comment.