Skip to content

Commit

Permalink
Merge 1fad9f6 into acf5fc7
Browse files Browse the repository at this point in the history
  • Loading branch information
dawsbot committed Mar 6, 2017
2 parents acf5fc7 + 1fad9f6 commit 0483272
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ if (typeof argv.allowEmptyPaths !== 'undefined') {
//Replace
try {
const changedFiles = replace.sync(options);
if (changedFiles.length > 0) {
console.log(chalk.green(changedFiles.length, 'file(s) were changed'));
if (argv.verbose) {
console.log(chalk.green(changedFiles.length, 'file(s) were changed'));
if (argv.verbose && (changedFiles.length > 0)) {
changedFiles.forEach(file => console.log(chalk.grey('-', file)));
}
}
Expand Down

0 comments on commit 0483272

Please sign in to comment.