mirror of
https://github.com/kopia/kopia.git
synced 2026-05-18 19:54:37 -04:00
chore(general): remove unnecessary //nolint directives (#3256)
This commit is contained in:
@@ -791,7 +791,7 @@ func getShallowInfo(t *testing.T, srp string) (string, os.FileInfo) {
|
||||
|
||||
v := -1
|
||||
|
||||
for i, s := range []string{"", localfs.ShallowEntrySuffix, dIRPH} { // nolint(wsl)
|
||||
for i, s := range []string{"", localfs.ShallowEntrySuffix, dIRPH} {
|
||||
paths[i] = srp + s
|
||||
shallowinfos[i], errors[i] = os.Lstat(paths[i])
|
||||
|
||||
@@ -804,7 +804,7 @@ func getShallowInfo(t *testing.T, srp string) (string, os.FileInfo) {
|
||||
// the file paths should exist.)
|
||||
errcount := 0
|
||||
|
||||
for _, e := range errors { // nolint(wsl)
|
||||
for _, e := range errors {
|
||||
if e != nil {
|
||||
errcount++
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user