Skip to content

Commit b181752

Browse files
jsjoeiocode-asher
andauthored
refactor: log to stderr
Co-authored-by: Asher <[email protected]>
1 parent e417c22 commit b181752

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/lib.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ get_artifacts_url() {
6262
head_sha=$(git rev-parse HEAD)
6363
artifacts_url=$(curl -fsSL 'https://api.github.com/repos/cdr/code-server/actions/workflows/ci.yaml/runs?status=success&event=pull_request' | jq -r ".workflow_runs[] | select(.head_sha == \"$head_sha\") | .artifacts_url" | head -n 1)
6464
if [[ -z "$artifacts_url" ]]; then
65-
echo "ERROR: artifacts_url came back empty"
66-
echo "Check the get_artifacts_url function"
65+
>&2 echo "ERROR: artifacts_url came back empty"
66+
>&2 echo "Check the get_artifacts_url function"
6767
exit 1
6868
fi
6969

0 commit comments

Comments
 (0)