Skip to content

Commit

Permalink
Improve upload archive progress bar
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <michaelsv@jfrog.com>
  • Loading branch information
sverdlov93 committed Jan 28, 2025
1 parent fde62a4 commit 753e932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions artifactory/commands/dotnet/dotnetcommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ func AddSourceToNugetConfig(cmdType dotnet.ToolchainType, sourceUrl, user, passw
}
}

_, errOut, _, err := frogio.RunCmdWithOutputParser(cmd, false)
stdOut, errOut, _, err := frogio.RunCmdWithOutputParser(cmd, false)
if err != nil {
return fmt.Errorf("%s\nfailed to add source: %w", errOut, err)
return fmt.Errorf("%s\nfailed to add source: %w", stdOut+errOut, err)
}
return nil
}
Expand Down
5 changes: 0 additions & 5 deletions artifactory/commands/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
"net/url"
"os"
"slices"
"strings"
)

// packageManagerToRepositoryPackageType maps project types to corresponding Artifactory repository package types.
Expand Down Expand Up @@ -309,10 +308,6 @@ func (sc *SetupCommand) configureDotnetNuget() error {
return err
}

if strings.HasPrefix(sourceUrl, "http://") {

}

// Add the repository as a source in the NuGet configuration with credentials for authentication
return dotnet.AddSourceToNugetConfig(toolchainType, sourceUrl, user, password)
}
Expand Down

0 comments on commit 753e932

Please sign in to comment.