fix another bash typo

This commit is contained in:
Philipp Kunz 2016-06-06 23:57:23 +02:00
parent 821747510f
commit d24ff4c67b
2 changed files with 5 additions and 5 deletions

6
dist/npmci.bash.js vendored

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@ export let bash = (commandArg:string,retryArg = 2) => {
} else if(exitCode == 0){
i = retryArg + 1; // if everything works out ok retrials are not wanted
} else {
plugins.beautylog.warn("Something went wrong! Exit Code: " + exitCode.toString);
plugins.beautylog.warn("Something went wrong! Exit Code: " + exitCode.toString());
plugins.beautylog.info("Retry " + (i + 1).toString() + " of " + retryArg.toString());
}
}
@ -31,7 +31,7 @@ export let bashBare = (commandArg,retryArg = 2) => {
} else if(exitCode == 0){
i = retryArg + 1; // if everything works out ok retrials are not wanted
} else {
plugins.beautylog.warn("Something went wrong! Exit Code: " + exitCode.toString);
plugins.beautylog.warn("Something went wrong! Exit Code: " + exitCode.toString());
plugins.beautylog.info("Retry " + (i + 1).toString() + " of " + retryArg.toString());
}
}