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

Appearance settings

Commit 3ac8320

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

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎internal/cli/version/version.go

Copy file name to clipboardExpand all lines: internal/cli/version/version.go
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.