Skip to content

Commit

Permalink
log config for test
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalDelarea committed Nov 21, 2024
1 parent 986a8d3 commit a2fd8b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions artifactory/commands/dotnet/dotnetcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,10 @@ func InitNewConfig(configDirPath, repoName string, server *config.ServerDetails,
// but the NuGet configuration utility doesn't currently allow setting protocolVersion.
// Until that is supported, the templated method must be used.
err = addSourceToNugetTemplate(configFile, server, useNugetV2, repoName, allowInsecureConnections)

// For tests
content, _ := os.ReadFile(configFile.Name())
log.Info("Config file content:\n", string(content))
return
}

Expand Down

0 comments on commit a2fd8b7

Please sign in to comment.