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

[CLI] Using --silent and --stdin together results in no output #169

Closed
dlind1 opened this issue Jul 15, 2020 · 0 comments · Fixed by #170
Closed

[CLI] Using --silent and --stdin together results in no output #169

dlind1 opened this issue Jul 15, 2020 · 0 comments · Fixed by #170
Labels

Comments

@dlind1
Copy link
Contributor

dlind1 commented Jul 15, 2020

When rtlcss is called with both --silent and --stdin to take the css from stdin and output to stdout, the --silent flag results in no output since console.log is redefined to be an empty function. Using process.stdout.write instead of console.log fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants