Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit de0813f

Browse files
authored
fix(git-commit-signing): disable curl stderr output (#190)
1 parent d8fa7c9 commit de0813f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-commit-signing/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ echo "Downloading SSH key"
2121

2222
ssh_key=$(curl --request GET \
2323
--url "${CODER_AGENT_URL}api/v2/workspaceagents/me/gitsshkey" \
24-
--header "Coder-Session-Token: ${CODER_AGENT_TOKEN}")
24+
--header "Coder-Session-Token: ${CODER_AGENT_TOKEN}" \
25+
--silent --show-error)
2526

2627
jq --raw-output ".public_key" > ~/.ssh/git-commit-signing/coder.pub << EOF
2728
$ssh_key

0 commit comments

Comments
 (0)