Skip to content

Commit e1e6841

Browse files
committed
Redirect log_info output to stderr for improved error visibility in get_latest_release_url function
1 parent 4b50d95 commit e1e6841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync-ssh-keys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ get_latest_release_url() {
196196
local repo="$1"
197197
local api_url="https://api.github.com/repos/$repo/releases/latest"
198198

199-
log_info "Fetching latest release information..."
199+
log_info "Fetching latest release information..." >&2
200200

201201
if ! curl -fsSL "$api_url" | grep "browser_download_url" | grep "sync-ssh-keys.sh" | cut -d '"' -f 4; then
202202
log_error "Could not determine the latest version URL from GitHub API"

0 commit comments

Comments
 (0)