cleanup console.logs and moved to proper log level console to make finding stray console.logs easier
This commit is contained in:
parent
e690ce193b
commit
7f9fe6b660
16 changed files with 50 additions and 59 deletions
|
|
@ -27,14 +27,12 @@ module.exports = function () {
|
|||
}
|
||||
|
||||
if (warnings.length) {
|
||||
console.log('')
|
||||
console.log(chalk.yellow('To use this template, you must update following to modules:'))
|
||||
console.log()
|
||||
console.warn(chalk.yellow('\nTo use this template, you must update following to modules:\n'))
|
||||
for (var i = 0; i < warnings.length; i++) {
|
||||
var warning = warnings[i]
|
||||
console.log(' ' + warning)
|
||||
console.warn(' ' + warning)
|
||||
}
|
||||
console.log()
|
||||
console.warn()
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue