Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Vaumoron <dvaumoron@gmail.com>
  • Loading branch information
dvaumoron committed Jul 13, 2024
1 parent a0c3401 commit 8fa0efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/tenv/subcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@ func newListCmd(conf *config.Config, versionManager versionmanager.VersionManage
if noUseDate {
loghelper.StdDisplay(loghelper.Concat("* ", version, " (never used, set by ", filePath, ")"))
} else {
loghelper.StdDisplay(loghelper.Concat("* ", version, " (used ", useDate.Format(time.DateOnly), ", set by ", filePath, ")"))
loghelper.StdDisplay(loghelper.Concat("* ", version, " (used ", useDate.Format(time.DateOnly), ", set by ", filePath, ")")) //nolint
}
case noUseDate:
loghelper.StdDisplay(loghelper.Concat(" ", version, " (never used)"))
default:
loghelper.StdDisplay(loghelper.Concat(" ", version, " (used ", useDate.Format(time.DateOnly), ")"))
loghelper.StdDisplay(loghelper.Concat(" ", version, " (used ", useDate.Format(time.DateOnly), ")")) //nolint
}
}
if conf.DisplayVerbose {
Expand Down

0 comments on commit 8fa0efb

Please sign in to comment.