Closed jkewley closed 4 years ago
This is very likely a PSScriptAnalyzer issue. BTW, for future reference we have a link to the right repo in our issue flow:
Whoops! Missed that. I'll close this and head over there
For anyone else looking for the right issue: https://github.com/PowerShell/PSScriptAnalyzer/issues/1540
System Details
System Details Output
Issue Description
PowerShell setting
Code Formatting : Whitespace Between Parameters
has a bug when formattingNew-Object PSObject -Property
code.Given:
reformatting without the setting checked gives us
with the option checked we get
which is illegal (equals sign is gone after 'Somebody')
Expected Behaviour
I would expect this: