Skip to content
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

Change default of powershell.codeFormatting.pipelineIndentationStyle from None back to NoIndentation due to PSSA bug #2698

Conversation

bergmeister
Copy link
Contributor

@bergmeister bergmeister commented May 13, 2020

PR Summary

Fixes #2696
cc @TylerLeonhardt @rjmholt

Tracking PSSA bug is here: PowerShell/PSScriptAnalyzer#1496
I already have a fix ready for the PSSA issue, it is an embarrassing mistake, I used break when I meant to use continue in a for loop :-(
Sorry, but without the test coverage from the preview extension, I wouldn't have found this earlier because locally I don't use the default value for that setting.

PR Checklist

Note: Tick the boxes below that apply to this pull request by putting an x between the square brackets.
Please mark anything not applicable to this PR NA.

  • PR has a meaningful title
  • Summarized changes
  • PR has tests
  • This PR is ready to merge and is not work in progress
    • If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready

…from None back to NoIndentation due to PSSA bug
@bergmeister
Copy link
Contributor Author

@PoshChan please restart ci

@PoshChan
Copy link

@bergmeister, did not find matching build context: vscode-powershell-ci; allowed contexts: vscode-powershell-secret-scan

Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Preview-2020-5.0] Formatting broken when using default PipelineIndentationStyle setting value of None
3 participants