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 — Set exit code of `Invoke-ScriptAnalyzer -EnableExit` to total number of diagnostics (#2054) by MatejKafka · Pull Request #2055 · PowerShell/PSScriptAnalyzer Conversation
|
|
Thanks Matěj Kafka (@MatejKafka)! I really like this. Could I ask you to do one small refactor? I checked and
|
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.
Ugh sorry GitHub UI see comment I just left in "Conversation" tab of PR. Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
b5d4932 to
76bcd6b
Compare
|
Andy Jordan (@andyleejordan) Needed to make a few more changes in Btw, looking at the code a bit more, imo it would also make sense to move |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
76bcd6b to
04a0149
Compare
Christoph Bergmeister (@bergmeister) thoughts on this? I'm inclined to agree but it seems like a riskier change. Otherwise I'm good with this PR as-is but wanted to ping you before merging. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Matěj Kafka (@MatejKafka) I chatted with Patrick Meinecke (@SeeminglyScience) and confirmed that wouldn't break things, so I'm all for adding that small refactor. It makes sense, then I can do a final review and merge this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
One more thing – currently, the number of violations reported by |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Updated with changes to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ah, yes, sorry. I misunderstood and that moving the report summary logic would be a change on the same order as the exit code change. Need to keep it very minimal. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Not sure I follow – are you referring to changing |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
All the extra changes on top of it. I'm good to merge just commit 04a0149. For the extra report summary changes proposed, let's do it another PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Makes sense, I'll move the follow-up commits to separate PRs, thanks. :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
5833d08 to
04a0149
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fantastic, thank you!
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.
Invoke-ScriptAnalyzer -EnableExit sets exit code based on the last evaluated file with piped input
There was an error while loading. Please reload this page.