Skip to content

Commit a7d7934

Browse files
ardnewMatteoPologruto
authored andcommitted
remove comment on default cache timeout (maintenance smell)
1 parent 38496cb commit a7d7934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cli/lib/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func versionsFromSearchedLibrary(library *rpc.SearchedLibrary) []*semver.Version
192192

193193
// indexNeedsUpdating returns whether library_index.json need updating.
194194
// A positive duration string must be provided to calculate the time threshold
195-
// used to update the index (default: +24 hours).
195+
// used to update the index.
196196
// Valid duration units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
197197
// Use a duration of 0 to always update the index.
198198
func indexNeedsUpdating(duration string) bool {

0 commit comments

Comments
 (0)