Skip to content

Fix empty config file command for PowerShell#11692

Closed
apollo7321 wants to merge 1 commit intoprettier:mainfrom
apollo7321:patch-1
Closed

Fix empty config file command for PowerShell#11692
apollo7321 wants to merge 1 commit intoprettier:mainfrom
apollo7321:patch-1

Conversation

@apollo7321
Copy link
Copy Markdown

Since PowerShell tries to interpret {}, the brackets must be enclosed in double quotes.

Description

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

Since PowerShell tries to interpret {}, the brackets must be enclosed in double quotes.
@fisker
Copy link
Copy Markdown
Member

fisker commented Oct 18, 2021

Your version can't work with cmd.

@apollo7321
Copy link
Copy Markdown
Author

Your version can't work with cmd.

Oh damn, it adds the double quotes in the .eslintrc file... Great.

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.

2 participants