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

Color output is not available unless --fix option is used #593

Open
amimas opened this issue Mar 20, 2019 · 0 comments
Open

Color output is not available unless --fix option is used #593

amimas opened this issue Mar 20, 2019 · 0 comments
Labels
Status: Need More Info Lacks enough info to make progress

Comments

@amimas
Copy link

amimas commented Mar 20, 2019

What version of textlint are you using?

11.2.1

What file type (Markdown, plain text, etc.) are you using?

Markdown

What did you do? Please include the actual source code causing the issue.

Run textlint to find out issues like this: yarn textlint ../docs/** ./versioned_docs/**

Run textlint with auto fix option like this: yarn textlint --fix ../docs/** ./versioned_docs/**

What did you expect to happen?

Expected colour output for both commands

What actually happened? Please include the actual, raw output from textlint.

Only got coloured output from the 2nd command that included the --fix option

Some important details

I use Gradle as the build tool. Gradle executes yarn textlint as a child process and so far everything is working great!! But, I noticed that I am only getting colored output when I use the --fix option with textlint.

I'm not sure if it's a Gradle issue or textlint issue, but I imagine Gradle will execute both yarn textlint and yarn textlint --fix the same way. So, I thought I'd open an issue here to see if you can give any insights to this. The colored output can be really useful for some of the rules.

@azu azu added the Status: Need More Info Lacks enough info to make progress label Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Need More Info Lacks enough info to make progress
Projects
None yet
Development

No branches or pull requests

2 participants