mirror of
https://github.com/kopia/kopia.git
synced 2026-10-25 15:48:47 -04:00
chore(ci): upgraded linter to 1.48.0 (#2294)
Mechanically fixed all issues, added `lint-fix` make target.
This commit is contained in:
1 parent
419c7acb11
commit
51dcaa985d
305 files changed
+850
-794
No files matched your search
@@ -53,7 +53,7 @@ func clearCacheDirectory(ctx context.Context, d string) error {
|
||||
log(ctx).Infof("Clearing cache directory: %v.", d)
|
||||
|
||||
err := retry.WithExponentialBackoffNoValue(ctx, "delete cache", func() error {
|
||||
// nolint:wrapcheck
|
||||
//nolint:wrapcheck
|
||||
return os.RemoveAll(d)
|
||||
}, retry.Always)
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user