-
-
Notifications
You must be signed in to change notification settings - Fork 85
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(stdout): remove extra newlines at EOF #54
fix(stdout): remove extra newlines at EOF #54
Conversation
By using console.log, an extra newline is printed after the code formated by prettier/eslint. See related prettier issue prettier/prettier#437 Fix prettier#51
Codecov Report
@@ Coverage Diff @@
## master #54 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 2 2
Lines 90 90
=====================================
Hits 90 90
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Thanks!
In prettier#54 I removed the extra new line at the end of files printed to stdout. I wasn't aware of cli-tests, so I didn't change those. This commit adjust the expected output of files formated and printed to stdout.
In prettier#54 I removed the extra new line at the end of files printed to stdout. I wasn't aware of cli-tests, so I didn't change those. This commit adjust the expected output of files formated and printed to stdout.
In prettier#54 I removed the extra new line at the end of files printed to stdout. I wasn't aware of cli-tests, so I didn't change those. This commit adjust the expected output of files formated and printed to stdout.
* feat(tests): run cli-tests in CI In order to make sure the prettier-eslint command won't display colored output, we have to tweak the environment variables. We don't want colored output because it won't match jest snapshots. * fix(tests): adjust expected output for stdout cli tests In #54 I removed the extra new line at the end of files printed to stdout. I wasn't aware of cli-tests, so I didn't change those. This commit adjust the expected output of files formated and printed to stdout.
By using console.log, an extra newline is printed after the code formated by prettier/eslint. See
related prettier issue prettier/prettier#437
Fix #51