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 #209] add output-format option to show result without colors #228

Merged
merged 1 commit into from
May 19, 2015

Conversation

Euen
Copy link
Member

@Euen Euen commented May 19, 2015

[Fix #209] add output-format option to show result without colors

case application:get_env(elvis, output_format, colors) of
plain ->
re:replace(Message, "{{.*?}}", "", Opts);
_ ->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be specific on the options you accept. _ should result in, at least, a warning when it is not colors.

elbrujohalcon pushed a commit that referenced this pull request May 19, 2015
[Fix #209] add output-format option to show result without colors
@elbrujohalcon elbrujohalcon merged commit 12186e5 into master May 19, 2015
@Euen Euen deleted the euen.209.white_output branch July 3, 2015 13:39
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.

White output
2 participants