Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8dc0db3b71 | |||
| d24ff4c67b |
6
dist/npmci.bash.js
vendored
6
dist/npmci.bash.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmci",
|
"name": "npmci",
|
||||||
"version": "2.1.31",
|
"version": "2.1.32",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export let bash = (commandArg:string,retryArg = 2) => {
|
|||||||
} else if(exitCode == 0){
|
} else if(exitCode == 0){
|
||||||
i = retryArg + 1; // if everything works out ok retrials are not wanted
|
i = retryArg + 1; // if everything works out ok retrials are not wanted
|
||||||
} else {
|
} 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());
|
plugins.beautylog.info("Retry " + (i + 1).toString() + " of " + retryArg.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -31,7 +31,7 @@ export let bashBare = (commandArg,retryArg = 2) => {
|
|||||||
} else if(exitCode == 0){
|
} else if(exitCode == 0){
|
||||||
i = retryArg + 1; // if everything works out ok retrials are not wanted
|
i = retryArg + 1; // if everything works out ok retrials are not wanted
|
||||||
} else {
|
} 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());
|
plugins.beautylog.info("Retry " + (i + 1).toString() + " of " + retryArg.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user