now checking if tool already installed

This commit is contained in:
2016-11-25 22:34:28 +01:00
parent 9822a9c867
commit 77a4cd7a12
5 changed files with 20 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ let checkNvm = () => {
}
checkNvm()
export let bash = (commandArg: string, retryArg = 2, bareArg = false) => {
export let bash = (commandArg: string, retryArg = 2, bareArg = false): string => {
let exitCode: number
let stdOut: string
let execResult