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 12, 2024
1 parent 77e8d71 commit f28f014
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,12 @@ func testBuildToolLoginCommandConfigureDotnetNuget(t *testing.T, packageManager
// Read the contents of the temporary Poetry config file.
nugetConfigContentBytes, err := os.ReadFile(nugetConfigFilePath)

Check failure on line 377 in artifactory/commands/packagemanagerlogin/packagemanagerlogin_test.go

View workflow job for this annotation

GitHub Actions / Static-Check

ineffectual assignment to nugetConfigContentBytes (ineffassign)
assert.NoError(t, err)
nugetConfigContentBytes, err = os.ReadFile(filepath.Join(homeDir, ".config", "NuGet", "NuGet.config"))

Check failure on line 379 in artifactory/commands/packagemanagerlogin/packagemanagerlogin_test.go

View workflow job for this annotation

GitHub Actions / Static-Check

ineffectual assignment to nugetConfigContentBytes (ineffassign)
assert.NoError(t, err)
nugetConfigContentBytes, err = os.ReadFile(filepath.Join(homeDir, ".nuget", "NuGet", "NuGet.config"))

Check failure on line 381 in artifactory/commands/packagemanagerlogin/packagemanagerlogin_test.go

View workflow job for this annotation

GitHub Actions / Static-Check

ineffectual assignment to nugetConfigContentBytes (ineffassign)
assert.NoError(t, err)
nugetConfigContentBytes, err = os.ReadFile(filepath.Join("etc", "opt", "NuGet", "NuGet.config"))
assert.NoError(t, err)
nugetConfigContent := string(nugetConfigContentBytes)

assert.Contains(t, nugetConfigContent, fmt.Sprintf("add key=\"%s\" value=\"https://acme.jfrog.io/artifactory/api/nuget/v3/test-repo\"", dotnet.SourceName))
Expand Down

0 comments on commit f28f014

Please sign in to comment.