Skip to content

Commit

Permalink
fix(stryker-cli.ts): Only show logo when installing \n\n Add CHANGELO…
Browse files Browse the repository at this point in the history
…G.md for grunt release. ASCII Logo only shows when first time installing
  • Loading branch information
Olaf Haalstra authored and Olaf Haalstra committed Jan 29, 2017
1 parent 7f058c3 commit 0768449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Todo
3 changes: 1 addition & 2 deletions src/stryker-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@ chalk.red(` ''####`) + chalk.white('@') + chalk.red(`####''



console.log(strykerASCII);

if (fileExists(strykerPathFromNode)) {
require(strykerPathFromNode);
} else if (fileExists(strykerPathFromBuild)) {
require(strykerPathFromBuild);
} else {
console.log(strykerASCII);
console.log(chalk.yellow('Stryker is currently not installed.'));
inquirer.prompt([{ type: 'confirm', name: 'install', message: 'Do you want to automatically install Stryker?', default: 'true' }]).then((answers) => {
if (answers['install']) {
Expand Down

0 comments on commit 0768449

Please sign in to comment.