Skip to content

Commit

Permalink
fix: add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Apr 11, 2022
1 parent 7ac26d3 commit 5a939fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/core/cmdutil/selfupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func DoSelfUpdate(f *factory.Factory) (bool, error) {

}

// DoSelfUpdate checks for updates once per day and prompts the user to update if there is a newer version available
func DoSelfUpdateOnceADay(f *factory.Factory) (bool, error) {
if !f.IOStreams.CanPrompt() {
// Do not prompt if we are not in interactive mode
Expand Down

0 comments on commit 5a939fc

Please sign in to comment.