Update npmci.install.ts

This commit is contained in:
Philipp Kunz 2016-12-14 16:38:57 +00:00
parent 5021ee099d
commit 5a472326ad

View File

@ -30,7 +30,6 @@ export let install = (versionArg) => {
for (let npmTool of configArg.globalNpmTools) { for (let npmTool of configArg.globalNpmTools) {
plugins.beautylog.info(`Checking for global "${npmTool}"`) plugins.beautylog.info(`Checking for global "${npmTool}"`)
let whichOutput = bashNoError(`which ${npmTool}`) let whichOutput = bashNoError(`which ${npmTool}`)
console.log(whichOutput)
let toolAvailable: boolean = !(/not\sfound/.test(whichOutput)) let toolAvailable: boolean = !(/not\sfound/.test(whichOutput))
if (toolAvailable) { if (toolAvailable) {
plugins.beautylog.log(`Tool ${npmTool} is available`) plugins.beautylog.log(`Tool ${npmTool} is available`)