Fix formatting to use automatic Struostrup style in VSCode#1203
Fix formatting to use automatic Struostrup style in VSCode#1203
Conversation
|
Is this the same as OTBS that the PowerShell community seems to have adopted? |
|
IDK what is the exact difference, but this one puts else on new line. And Pester is mentioned in the powershell style guide entry for this dtyle, so I figured why not. |
|
Okay I can leverage these as ISE snippets just fine since they are XML so why the worry regarding VSCode OTBS? |
|
@jkavanagh58 I don't get what you mean. Could you please re-phrase/expand on it?:) |
Sadly I don't remember now... |
|
@jkavanagh58 we are not finding out then :D |
|
Admittedly I am struggling to test this but I have some time on my hands so I will see if I can illustrate this better or maybe see where I need to "find target on wall, aim forehead and whack" 🔢 |
Formatted all the files, and fixed tests that depend on formatting
Add-AssertonOperatorare the same (added whitespace made the scripts different)$scriptwe use for check in a different line, so I've put it before the assertion with;so it stays on the same line.Fix #1110