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

fix(cli): regression for --debug-check + --list-different #4600

Merged

Conversation

ikatyang
Copy link
Member

@ikatyang ikatyang commented May 30, 2018

Fixes #4599

The regression was introduced in #4528, output is actually not prettified code under --debug-check, e.g. the check output !== input is actually "index.js" !== "console.log("…");" in #4599.

The returned value from format() is really confusing, we should refactor it.

@j-f1 j-f1 changed the title fix(cli): no regression for --debug-check + --list-different fix(cli): regression for --debug-check + --list-different May 30, 2018
@ikatyang ikatyang merged commit 75e86b9 into prettier:master May 30, 2018
@ikatyang ikatyang deleted the fix/cli-debug-check-with-list-different branch May 30, 2018 16:42
@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Aug 28, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants