mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Fix linting issue
This commit is contained in:
parent
e455828339
commit
1df4e03b47
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export async function isSafeChainCAInstalled() {
|
||||||
// Windows: check Root store for cert
|
// Windows: check Root store for cert
|
||||||
return await safeSpawn("certutil", ["-store", "Root", "safe-chain proxy"], { stdio: "pipe" }).then(res => res.stdout.includes("safe-chain proxy"));
|
return await safeSpawn("certutil", ["-store", "Root", "safe-chain proxy"], { stdio: "pipe" }).then(res => res.stdout.includes("safe-chain proxy"));
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (/** @type any */ error) {
|
||||||
// If check fails, assume not installed
|
// If check fails, assume not installed
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue