mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Activate lint gosimple.
This commit is contained in:
@@ -159,7 +159,7 @@ func RecentFileExists(path string) bool {
|
||||
return false
|
||||
}
|
||||
}
|
||||
age := time.Now().Sub(fi.ModTime())
|
||||
age := time.Since(fi.ModTime())
|
||||
return age.Minutes() < 3
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user