-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add value for NU1507 warning string format item #4533
Conversation
Thanks @tlmii, I've pushed an update to the unit test to your branch as well |
@jeffkl There are many ways to add sources, NuGet.Config, RestoreSources, RestoreAdditionalProjectSources etc. |
should we be considering this change for 17.2 as well? @jeffkl |
The plan is to merge this into dev and cherry-pick for 17.2 so we can take it to shiproom |
|
Bug
Fixes: NuGet/Home#11709
Regression? Last working version: Not a regression
Description
It looks like #4505 missed calling
string.Format
and passing the value when the warning text was changed to include a format item for the number of sources. This PR corrects that.Note that this doesn't address all of the points in NuGet/Home#11709, just the main one of the missing value, so I don't think completing this PR should close that one.
PR Checklist
PR has a meaningful title
PR has a linked issue.
Described changes
Tests
Documentation