Skip to content

Commit cf3d35c

Browse files
Add flag to follow redirects to curl command
1 parent 40c3acc commit cf3d35c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/run-bundled-codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ download_apollo_cli_if_needed() {
2929

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

3535
force_cli_download() {

0 commit comments

Comments
 (0)