facebook / facebook/jscodeshift
Restructure runner and logging
Open
improvement
- Dominant language
- JavaScript
- Stars
- 10k
- Forks
- 498
- PR merge metrics
- No merged PRs in 30d
Description
Instead of using `console.log`, the runner should write to `stdout` and `stderr`, or maybe to streams passed to it. Either way, the runner shouldn't output anything, but return information about the progress / result to the caller, one way or the other.
The caller (e.g. the jscodeshift binary) can then decide how to deal with this information and also set proper exit codes.
Contributor guide
Assessment
This issue has not been assessed yet.