Skip to content

Commit

Permalink
Diagnostic code (facebook#1695)
Browse files Browse the repository at this point in the history
* Adding diagnostic code as requested by @gaearon

* Oops
  • Loading branch information
tgig authored and SpaceK33z committed Mar 7, 2017
1 parent 4296eeb commit fa4b31e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/create-react-cy-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ function run(root, appName, version, verbose, originalDirectory, template) {
console.log('Aborting installation.');
if (reason.command) {
console.log(' ' + chalk.cyan(reason.command), 'has failed.')
} else {
console.log(chalk.red('Unexpected error. Please report it as a bug:'));
console.log(reason);
}
console.log();

Expand Down

0 comments on commit fa4b31e

Please sign in to comment.