diff --git a/nuget_test.go b/nuget_test.go index 82a3f4bc8..93242d14c 100644 --- a/nuget_test.go +++ b/nuget_test.go @@ -160,9 +160,9 @@ 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() { - *args = append(*args, "--allow-insecure-connections") - //} + if projectType == project.Nuget.String() { + *args = append(*args, "--allow-insecure-connections") + } log.Debug(projectType) return args }