Closed
Description
Steps to reproduce
Warning: Do this in a new process that you know the PID of -- it will lock up.
iwr https://raw.githubusercontent.com/TravisEz13/PsAzDevOpsExt/master/src/PSPackageProject.psm1 -outfile ex.ps1
Invoke-ScriptAnalyzer -Path ex.ps1
Expected behavior
PSSA emits any relevant diagnostics and returns
Actual behavior
Call never returns and does not respond to Ctrl+C
Environment data
> $PSVersionTable
Name Value ---- ----- PSVersion 7.0.0-preview.2
PSEdition Core
GitCommitId 7.0.0-preview.2
OS Darwin 18.7.0 Darwin Kernel Version 18.7.0: Thu Ju…
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }
1.18.1
Debugging this, it seems to occur around this call. This behaviour is not present in 1.18.0.
Metadata
Metadata
Assignees
Labels
No labels