From b5158003c9dfaeb986127431de44919e460fd3a3 Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Wed, 8 Jan 2025 17:31:42 +0200 Subject: [PATCH] Improve upload archive progress bar Signed-off-by: Michael Sverdlov --- artifactory/commands/dotnet/dotnetcommand.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/artifactory/commands/dotnet/dotnetcommand.go b/artifactory/commands/dotnet/dotnetcommand.go index bf742db34..357ce6169 100644 --- a/artifactory/commands/dotnet/dotnetcommand.go +++ b/artifactory/commands/dotnet/dotnetcommand.go @@ -241,9 +241,7 @@ func CreateConfigFileIfNeeded(customConfigPath string) error { return err } // Write the default config content to the file - if err = os.WriteFile(customConfigPath, []byte(""), 0644); err != nil { - return err - } + return os.WriteFile(customConfigPath, []byte(""), 0644) } func addConfigFileFlag(cmd *dotnet.Cmd, configFilePath string) {