FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Do not print summary repeatedly for each logger by MatejKafka · Pull Request #2058 · PowerShell/PSScriptAnalyzer · GitHub

Do not print summary repeatedly for each logger - #2058

Merged
Andy Jordan (andyleejordan) merged 1 commit into
PowerShell:mainfrom
MatejKafka:summary-repeat
Feb 20, 2025
Merged

Do not print summary repeatedly for each logger#2058
Andy Jordan (andyleejordan) merged 1 commit into
PowerShell:mainfrom
MatejKafka:summary-repeat

Conversation

Matěj Kafka (MatejKafka) commented Feb 11, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

PR Summary

Updates the foreach loop where diagnostics are written to only write the summary once instead of once per logger. Given that the summary is always printed to the host (and not to the logger), it does not make sense to print it multiple times. Since there's only a single logger shipped with PSScriptAnalyzer, this does manifest in practice, but it's relevant for my follow-up PRs. :)

PR Checklist

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks, ran CI, looks good. Thoughts Andy Jordan (@andyleejordan) ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Looks good, thanks.

Andy Jordan (andyleejordan) merged commit 0fecc08 into PowerShell:main Feb 20, 2025
Matěj Kafka (MatejKafka) deleted the summary-repeat branch February 21, 2025 13:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL