Bugfix - dotnet panic whenever nuget-config doesn't exist
@@ -1501,8 +1501,8 @@ func dotnetCmd(c *cli.Context) error {
return err
}
if !exists {
- return errors.New(fmt.Sprintf("Error occurred while attempting to read dotnet-configuration file: %s\n"+
- "Please run 'jfrog rt dotnet-config' command prior to running 'jfrog rt dotnet'.", err.Error()))
+ return errors.New(fmt.Sprintf("Error occurred while attempting to read dotnet-configuration file.\n" +
+ "Please run 'jfrog rt dotnet-config' command prior to running 'jfrog rt dotnet'."))
}
rtDetails, targetRepo, useNugetV2, err := getNugetAndDotnetConfigFields(configFilePath)
