remove bashBare
This commit is contained in:
@@ -72,7 +72,7 @@ export let bash = async (commandArg: string, retryArg: number = 2, bareArg: bool
|
||||
if (!bareArg) {
|
||||
execResult = await npmciSmartshell.exec(commandArg)
|
||||
} else {
|
||||
execResult = await plugins.smartshell.exec(commandArg)
|
||||
execResult = await npmciSmartshell.exec(commandArg)
|
||||
}
|
||||
|
||||
// determine how bash reacts to error and success
|
||||
@@ -99,13 +99,6 @@ export let bash = async (commandArg: string, retryArg: number = 2, bareArg: bool
|
||||
return execResult.stdout
|
||||
}
|
||||
|
||||
/**
|
||||
* bashBare allows usage of bash without sourcing any files like nvm
|
||||
*/
|
||||
export let bashBare = async (commandArg: string, retryArg: number = 2): Promise<string> => {
|
||||
return await bash(commandArg, retryArg, true)
|
||||
}
|
||||
|
||||
/**
|
||||
* bashNoError allows executing stuff without throwing an error
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user