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

Empty input with `--diff` and `--stdin` is okay #1093

Merged
merged 3 commits into from Dec 18, 2017

Conversation

2 participants
@yln
Contributor

yln commented Dec 17, 2017

An empty input (no matching input files) should not throw an error if --diff or --stdin is specified.
Previously discussed in #876.

Are there any additional exceptions?

@olafurpg

LGTM 👍 Thanks for fixing this! It's possible to use this fix immediately as a pre-release as soon as CI finished after merge http://scalameta.org/scalafmt/#Pre-release

@olafurpg olafurpg merged commit a20d612 into scalameta:master Dec 18, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@olafurpg olafurpg added this to the v1.3.1 milestone Jan 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment