Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/cli/update_extension_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func upgradeExtensionIfOutdated(verbose bool, includePrereleases bool) (bool, st
if semver.Compare(currentSV, latestSV) >= 0 {
updateExtensionCheckLog.Print("Extension is already up to date")
if verbose {
fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("gh-aw extension is up to date"))
fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("gh-aw extension is up to date"))
}
return false, "", nil
}
Expand Down Expand Up @@ -112,7 +112,7 @@ func upgradeExtensionIfOutdated(verbose bool, includePrereleases bool) (bool, st
// Replay the buffered output that was not shown during the attempt.
_, _ = io.Copy(os.Stderr, &firstAttemptBuf)
}
fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("gh-aw extension upgraded to "+latestVersion))
fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("gh-aw extension upgraded to "+latestVersion))
return true, "", nil
}

Expand Down Expand Up @@ -172,7 +172,7 @@ func upgradeExtensionIfOutdated(verbose bool, includePrereleases bool) (bool, st
cleanupExecutableBackup(backupPath)
}

fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("gh-aw extension upgraded to "+latestVersion))
fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("gh-aw extension upgraded to "+latestVersion))
return true, installPath, nil
}

Expand Down
Loading