improve logs

This commit is contained in:
2016-12-10 23:27:34 +01:00
parent 85a6099d56
commit 4e01b0c9b6
2 changed files with 5 additions and 2 deletions

View File

@ -23,10 +23,10 @@ export let install = (versionArg) => {
};
bash('node -v')
bash('npm -v')
// lets look for further config
configModule.getConfig()
.then(configArg => {
plugins.beautylog.log('Now checking for needed global npm tools...')
for (let npmTool of configArg.globalNpmTools) {
plugins.beautylog.info(`Checking for global "${npmTool}"`)
let whichOutput = bashNoError(`which ${npmTool}`)
@ -38,6 +38,7 @@ export let install = (versionArg) => {
bash(`npm install ${npmTool} -q -g`)
}
}
plugins.beautylog.success('all global npm tools specified in npmextra.json are now available!')
done.resolve()
})
return done.promise