From a2fd8b7f31d08319cefd4f1d2ef968a0b5b69bbd Mon Sep 17 00:00:00 2001 From: delarea Date: Thu, 21 Nov 2024 14:22:41 +0200 Subject: [PATCH] log config for test --- artifactory/commands/dotnet/dotnetcommand.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/artifactory/commands/dotnet/dotnetcommand.go b/artifactory/commands/dotnet/dotnetcommand.go index 38575a487..7822c6b27 100644 --- a/artifactory/commands/dotnet/dotnetcommand.go +++ b/artifactory/commands/dotnet/dotnetcommand.go @@ -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 }