GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||
GeezerVison is showing github.com — Enable SA1000: Keywords should be spaced correctly by xtqqczze · Pull Request #13973 · PowerShell/PowerShell Conversation
| |||||||||||||||||||||||||
|
Still draft? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ilya (@iSazonov) Please review and merge. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -113,7 +113,7 @@ private void SetResumeResponseHeaders() | |||
| private bool TryGetRangeHeader(out string rangeHeader) | |||
| { | |||
| var rangeHeaderSv = new StringValues(); | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
xtqqczze For my education - does an analyzer recognize the "var" pattern to convert to
StringValues rangeHeaderSv = new();
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I am not aware of such an analyzer, but one could use RCS1012 codefix first.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
So we should apply RCS1012 and then apply a fix to the new pattern?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I'm seeing warnings on the following pattern in live analysis, I'm surprised CI did not fail:
PowerShell/src/Microsoft.Management.Infrastructure.CimCmdlets/RemoveCimInstanceCommand.cs Line 288 in db94377
This issue was fixed in DotNetAnalyzers/StyleCopAnalyzers#3187, and is in the v1.2.0-beta.261 release. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
CI makes clean loading packages. So I guess if you see the warning you need clean your local package cache. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
CI is now failing |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Originally posted by Rob Holt (@rjmholt) in #9900 (comment) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Between tests for this PR passing (12 days ago), we merged IDE0090 PRs, which conflicted as the version of StyleCopAnalyzers in use at the time did not support target-typed new expressions properly. We could reduce the likelihood of similar issues occurring again by running tests again between approval and merge. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Ah, clear! We catch this again :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🎉 Handy links: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.