chore(general): remove unnecessary //nolint directives (#3256)

This commit is contained in:
Julio Lopez
2023-08-29 12:40:40 -07:00
committed by GitHub
parent d637814a5a
commit 1320f0c8e8

View File

@@ -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++
}