mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Remove unused var
This commit is contained in:
parent
a17e14c988
commit
86ce7ac45e
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ export async function runPip(command, args) {
|
||||||
|
|
||||||
// If the user already provided --cert, respect their choice and do not override.
|
// If the user already provided --cert, respect their choice and do not override.
|
||||||
// Support both "--cert <path>" and "--cert=<path>" forms.
|
// Support both "--cert <path>" and "--cert=<path>" forms.
|
||||||
const hasUserCert = args.some((a, i) => {
|
const hasUserCert = args.some((a) => {
|
||||||
if (a === "--cert") return true;
|
if (a === "--cert") return true;
|
||||||
return typeof a === "string" && a.startsWith("--cert=");
|
return typeof a === "string" && a.startsWith("--cert=");
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue