PowerShell / PSScriptAnalyzer

Download ScriptAnalyzer from PowerShellGallery
https://www.powershellgallery.com/packages/PSScriptAnalyzer/
MIT License
1.85k stars 373 forks source link

Fix PSInvalidOperationException preventing output from AnalyzeSyntaxTree #1952

Closed dkattan closed 9 months ago

dkattan commented 9 months ago

…perationException when calling WriteVerbose on the underlying cmdlet.

PR Summary

image

PR Checklist

dkattan commented 9 months ago

@andyleejordan Can you take a look at this? I'm able to repro this pretty readily

dkattan commented 9 months ago

Opened from a different repo