facebook / facebook/jscodeshift
Restructure runner and logging
Aperta
improvement
- Lingua principale
- JavaScript
- Stelle
- 10k
- Fork
- 498
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.