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(cli): use stderr for logs when using --json option #4044

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

imhoffd
Copy link
Contributor

@imhoffd imhoffd commented Jan 11, 2021

This was causing this issue from the Ionic CLI:

  ionic:lib:integrations:capacitor Getting config with Capacitor CLI: [ 'config', '--json' ] +0ms
SyntaxError: Unexpected token n JSON at position 0
at JSON.parse (<anonymous>)

@imhoffd imhoffd merged commit 452a101 into main Jan 11, 2021
@imhoffd imhoffd deleted the json-log-handling branch January 11, 2021 21:05
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.

1 participant