NuGet/Home

Multiple warnings on push are improperly formatted

Open

#8.001 geöffnet am 14. Apr. 2019

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)HTML (292 Forks)batch import
Functionality:PushPriority:2Type:Buggood first issuehelp wanted

Repository-Metriken

Stars
 (1.459 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 464T 23h) (1 gemergte PR in 30 T)

Beschreibung

I used dotnet.exe v2.2.202 to push a package that has no license with an API key that expires in a day. The output was:

info : Pushing dotnet-develop.0.0.0-prerelease.nupkg to 'https://www.nuget.org/api/v2/package'...
info :   PUT https://www.nuget.org/api/v2/package/
warn : Your API key expires in 1 days. Visit https://www.nuget.org/account/apikeys to regenerate your API key.,All published packages should have license information specified. Learn more: https://aka.ms/deprecateLicenseUrl.
info :   Created https://www.nuget.org/api/v2/package/ 652ms
info : Your package was pushed.

Notice that the warning on line 3 has two messages joined by a period and a comma, but no spaces. The client should properly format warning messages returned by the server.

Contributor Guide