Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

create-project: Display lint command output when using --debug #1265

Merged
merged 1 commit into from
Dec 19, 2018
Merged

create-project: Display lint command output when using --debug #1265

merged 1 commit into from
Dec 19, 2018

Commits on Dec 19, 2018

  1. create-project: Display lint command output when using --debug

    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 #1262.
    edmorley committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    a0c3e1f View commit details
    Browse the repository at this point in the history