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

Improve console output #12

Merged
merged 1 commit into from
Oct 4, 2018
Merged

Improve console output #12

merged 1 commit into from
Oct 4, 2018

Conversation

ngdo-pro
Copy link
Contributor

@ngdo-pro ngdo-pro commented Oct 3, 2018

When pretty fails, its output does not end on a new line, displaying something like this:
capture d ecran de 2018-10-03 14-27-21

This fix add an empty line to display this:
capture d ecran de 2018-10-03 14-27-46

When pretty fails, its output does not end on a new line, displaying something like this:
```
ngdo@ngdo-portable:~$ pretty fail/
Unrecognized command 'fail/'
Available commands:
- pretty: runs an analysis (will not fix the code)
- pretty fix: fix as many errors as possible in the code
- pretty ci: runs an analysis in a continuous integration environment
- pretty help: displays this helpngdo@ngdo-portable:~$ 
```

This fix add an empty line to display this:
```
ngdo@ngdo-portable:~$ pretty fail/
Unrecognized command 'fail/'
Available commands:
- pretty: runs an analysis (will not fix the code)
- pretty fix: fix as many errors as possible in the code
- pretty ci: runs an analysis in a continuous integration environment
- pretty help: displays this help
ngdo@ngdo-portable:~$ 
```
@mnapoli
Copy link
Owner

mnapoli commented Oct 4, 2018

Awesome thanks!

@mnapoli mnapoli merged commit d72ce3d into mnapoli:master Oct 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants