Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Nov 21, 2024
1 parent 56c1493 commit bfcd1d2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nuget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ func testNugetCmd(t *testing.T, projectPath, buildName, buildNumber string, expe
// Add allow insecure connection for testings to work with localhost server
// dotNet also uses this cmd, and we want to apply this only for Nuget.
func allowInsecureConnectionForTests(projectType string, args *[]string) *[]string {

Check failure on line 161 in nuget_test.go

View workflow job for this annotation

GitHub Actions / Static Check ubuntu-latest

`allowInsecureConnectionForTests` - `projectType` is unused (unparam)
if projectType == project.Nuget.String() {
*args = append(*args, "--allow-insecure-connections")
}
*args = append(*args, "--allow-insecure-connections")
return args
}

Expand Down

0 comments on commit bfcd1d2

Please sign in to comment.