Skip to content

Commit

Permalink
revert windows
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Nov 21, 2024
1 parent 07e36ab commit 4501822
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nuget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"encoding/xml"
"os"
"path/filepath"
"runtime"
"strconv"
"strings"
"testing"
Expand Down Expand Up @@ -160,7 +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 {
if projectType == project.Nuget.String() || runtime.GOOS == "windows" {
if projectType == project.Nuget.String() {
*args = append(*args, "--allow-insecure-connections")
}
return args
Expand Down

0 comments on commit 4501822

Please sign in to comment.