Skip to content

Commit a2fd8b7

Browse files
committed
log config for test
1 parent 986a8d3 commit a2fd8b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

artifactory/commands/dotnet/dotnetcommand.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,10 @@ func InitNewConfig(configDirPath, repoName string, server *config.ServerDetails,
292292
// but the NuGet configuration utility doesn't currently allow setting protocolVersion.
293293
// Until that is supported, the templated method must be used.
294294
err = addSourceToNugetTemplate(configFile, server, useNugetV2, repoName, allowInsecureConnections)
295+
296+
// For tests
297+
content, _ := os.ReadFile(configFile.Name())
298+
log.Info("Config file content:\n", string(content))
295299
return
296300
}
297301

0 commit comments

Comments
 (0)