Skip to content

Commit 5e2d3fd

Browse files
committed
scripts: suppress gh fallback errors
1 parent 9eeb477 commit 5e2d3fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ download_with_gh() {
8080
return 1
8181
fi
8282

83-
if ! gh release download "$RELEASE_TAG" --repo "$REPO" --pattern "$asset_name" --dir "$TMPDIR"; then
83+
if ! gh release download "$RELEASE_TAG" --repo "$REPO" --pattern "$asset_name" --dir "$TMPDIR" >/dev/null 2>&1; then
8484
return 1
8585
fi
86-
if ! gh release download "$RELEASE_TAG" --repo "$REPO" --pattern "$checksums_name" --dir "$TMPDIR"; then
86+
if ! gh release download "$RELEASE_TAG" --repo "$REPO" --pattern "$checksums_name" --dir "$TMPDIR" >/dev/null 2>&1; then
8787
return 1
8888
fi
8989
if [[ ! -f "${TMPDIR}/${asset_name}" || ! -f "${TMPDIR}/${checksums_name}" ]]; then

0 commit comments

Comments
 (0)