PowerShell / PSScriptAnalyzer

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

Fix PSInvalidOperationException preventing output from AnalyzeSyntaxTree #1952

Closed dkattan closed 11 months ago

dkattan commented 11 months ago

…perationException when calling WriteVerbose on the underlying cmdlet.

PR Summary

image

PR Checklist

dkattan commented 11 months ago

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

dkattan commented 11 months ago

Opened from a different repo