forked from neutrinojs/neutrino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create-project: Display lint command output when using --debug (neutr…
…inojs#1265) Previously the stdout/stderr of the "initial lint" step was not shown as expected when `--debug` had been passed to `create-project`. Now the full console output is displayed inline, like was already the case for the package install steps. The yeoman `spawnCommandSync()` options have also been refactored to reduce duplication, and the error handling adjusted so that: - a user friendly message is still shown in the case of `result.error` - the suggestion to use `--debug` is not shown if it was already passed - there is no longer a verbose Neutrino stack trace shown See: https://yeoman.github.io/generator/Generator.html#spawnCommandSync https://nodejs.org/api/child_process.html#child_process_child_process_spawnsync_command_args_options Fixes neutrinojs#1262.
- Loading branch information
Showing
2 changed files
with
24 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters