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 <[email protected]>
  • Loading branch information
sverdlov93 committed Nov 11, 2024
1 parent 02252d2 commit 76fd3b4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,12 @@ func testBuildToolLoginCommandConfigureDotnetNuget(t *testing.T, packageManager
homeDir, err := os.UserHomeDir()
assert.NoError(t, err)
var nugetConfigDir string
if io.IsWindows() {
switch {
case io.IsWindows():
nugetConfigDir = "AppData"
} else if packageManager == project.Nuget {
case packageManager == project.Nuget:
nugetConfigDir = ".config"
} else if packageManager == project.Dotnet {
case packageManager == project.Dotnet:
nugetConfigDir = ".nuget"
}
nugetConfigFilePath := filepath.Join(homeDir, nugetConfigDir, "NuGet", "NuGet.config")
Expand Down

0 comments on commit 76fd3b4

Please sign in to comment.