Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3ac8320

Browse files
Do not show available updates with version if updater.enable_notification is set to false (#2055)
1 parent dca3df7 commit 3ac8320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎internal/cli/version/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func runVersionCommand(cmd *cobra.Command, args []string) {
5959
if err != nil {
6060
feedback.Fatal(fmt.Sprintf("Error parsing current version: %s", err), feedback.ErrGeneric)
6161
}
62-
latestVersion := updater.ForceCheckForUpdate(currentVersion)
62+
latestVersion := updater.CheckForUpdate(currentVersion)
6363

6464
if feedback.GetFormat() != feedback.Text && latestVersion != nil {
6565
// Set this only we managed to get the latest version

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /