Skip to content

Commit

Permalink
Download shellcheck from Github.
Browse files Browse the repository at this point in the history
Trying to do so from the other URL resulted in the following error:
You are downloading ShellCheck from an outdated URL!

Please update to the new URL:
https://github.com/koalaman/shellcheck/releases/download/v0.6.0/shellcheck-v0.6.0.linux.x86_64.tar.xz

For more information, see:
koalaman/shellcheck#1871

PS: Sorry for breaking your build. The hosting costs were getting out of hand :(
Change-Id: I6eda8316b82d9998abcd67175a7d02a627aabcb6
  • Loading branch information
Sam Khan committed Sep 30, 2020
1 parent f7ee92e commit c620d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ sh_files=$(files_matching "(\.sh$|pre-commit$)" "deployments/.*/config.sh")
if [[ -n "$sh_files" && "$(basename "$PWD")" != "apps" ]] ; then
if [[ ! -e "$SHELLCHECK" ]] ; then
mkdir -p "$SHELLCHECK_DIR"
curl -fsSL https://storage.googleapis.com/shellcheck/shellcheck-v0.6.0.linux.x86_64.tar.xz \
curl -fsSL https://github.com/koalaman/shellcheck/releases/download/v0.6.0/shellcheck-v0.6.0.linux.x86_64.tar.xz \
| tar -C "$SHELLCHECK_DIR" -xJf - || exit 1
fi
# Note: using a lower severity than `warning` is quite noisy.
Expand Down

0 comments on commit c620d0e

Please sign in to comment.