mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix cliArgument.js merge issue
This commit is contained in:
parent
a04bea26da
commit
f7de81645c
1 changed files with 0 additions and 14 deletions
|
|
@ -52,20 +52,6 @@ function getLastArgEqualsValue(args, prefix) {
|
|||
return undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string[]} args
|
||||
* @param {string} flagName
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function hasFlagArg(args, flagName) {
|
||||
for (const arg of args) {
|
||||
if (arg.toLowerCase() === flagName.toLowerCase()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string[]} args
|
||||
* @returns {void}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue