From f4388c3eb3483385dbc043103ec6d45cce157dad Mon Sep 17 00:00:00 2001 From: Bastian Doetsch Date: Thu, 25 May 2023 17:55:19 +0200 Subject: [PATCH] fix: revert "chore: add retry-all-errors curl parameter (#95)" This reverts commit 4a6d54a12542eb970d0ebf256137e87ea144775e. --- src/commands/install.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/install.yml b/src/commands/install.yml index 059d412..571b224 100644 --- a/src/commands/install.yml +++ b/src/commands/install.yml @@ -50,8 +50,8 @@ steps: if [[ ! -x "/tmp/snyk" ]]; then SNYK_CLI_VERSION=$(cat "/tmp/.snyk-version") echo "Downloading Snyk CLI version ${SNYK_CLI_VERSION}" - curl -sO --retry 6 --retry-all-errors https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<> - curl -sO --retry 6 --retry-all-errors https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<>.sha256 + curl -sO --retry 6 https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<> + curl -sO --retry 6 https://static.snyk.io/cli/v${SNYK_CLI_VERSION}/snyk-<>.sha256 sha256sum -c snyk-<>.sha256 sudo mv snyk-<> /tmp/snyk sudo chmod +x /tmp/snyk