PowerShell / PSScriptAnalyzer

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

Underscore in file name of ps1 to be analyzed generates an error #209

Closed bigoals365 closed 9 years ago

bigoals365 commented 9 years ago

Underscore in file name of ps1 to be analyzed generates an error

Error Message:

Invoke-ScriptAnalyzer .\download_ignite.ps1 Invoke-ScriptAnalyzer : Illegal characters in path.

KirkMunro commented 9 years ago

FYI for the PSScriptAnalyzer team, this bug is fixed in my PSv3 compatible pull request, along with some other path issues (support for PowerShell paths). If you're going to fix it before merging my pull request, I recommend you do so using the same changes I applied to my pull request.

yutingc commented 9 years ago

We will take a look at the problem and let you know when we have the fix ready. Thanks!

bigoals365 commented 9 years ago

Thanks Kirk for being on the ball !!

yutingc commented 9 years ago

Thanks @bigoals365 and @KirkMunro. This bug should be fixed in #221