Skip to content

Commit

Permalink
fix mirror linter
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Schrock <[email protected]>
  • Loading branch information
spencerschrock committed Oct 18, 2023
1 parent fc00722 commit d7b3c98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ linters:
- ineffassign
- lll
- makezero
- mirror
- misspell
- nakedret
- nestif
Expand Down
2 changes: 1 addition & 1 deletion cmd/internal/nuget/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,6 @@ func testResult(wantErr bool, responseFileName string) (*http.Response, error) {
}
return &http.Response{
StatusCode: http.StatusOK,
Body: io.NopCloser(bytes.NewBufferString(string(content))),
Body: io.NopCloser(bytes.NewBuffer(content)),
}, nil
}

0 comments on commit d7b3c98

Please sign in to comment.