Skip to content

Commit

Permalink
Add flag to follow redirects to curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
designatednerd committed Apr 21, 2020
1 parent 40c3acc commit cf3d35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-bundled-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ download_apollo_cli_if_needed() {

download_cli() {
echo "Downloading zip file with the CLI..."
curl --silent --retry 3 --fail --show-error "${ZIP_FILE_DOWNLOAD_URL}" -o "${ZIP_FILE}"
curl --silent --retry 3 --fail --show-error -L "${ZIP_FILE_DOWNLOAD_URL}" -o "${ZIP_FILE}"
}

force_cli_download() {
Expand Down

0 comments on commit cf3d35c

Please sign in to comment.