-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSUseConsistentWhitespace - False validation in switch statements #1319
Comments
See #1298, sounds the same. You might want to edit the area between your example and the settings … the |
If you place the scriptblock conditions each in a parenthesis it changes the behavior :) If you see the statement in the PSES configuration for the rule in VS Code: (oops, wrong snip the first time) Issue #1168, its discussed how this rule affects formatting of the |
Sorry for the late response. When running |
* BugFix WebSession now assigned to Script Scope Fixed formatting * Changes: Added additional help for Connect-Qlik Parameters Added Type Check for TrustAllCertsPolicy to prevent trying to re-add * BugFix ...Hashtable] does not contain a method named 'ForEach'. * Formatting: Fixed to align with ScriptAnalyzer requirements * BugFix Handle Null -eq Attributes correctly * Various: Added pipline support Added Architecture Added LogOn * Formatting * Formatting Bug workaround: PowerShell/PSScriptAnalyzer#1319
Before submitting a bug report:
Steps to reproduce
Expected behavior
No warnings to be returned
Actual behavior
Receive warnings on space before an open brace.
Environment data
The text was updated successfully, but these errors were encountered: