mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix linting issues
This commit is contained in:
parent
4210d00ac4
commit
d96cf7d14d
1 changed files with 0 additions and 4 deletions
|
|
@ -43,9 +43,6 @@ function isParsable(pem) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @type {string | null} */
|
|
||||||
let cachedPath = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Build a combined CA bundle.
|
* Build a combined CA bundle.
|
||||||
* Automatically includes:
|
* Automatically includes:
|
||||||
|
|
@ -104,7 +101,6 @@ export function getCombinedCaBundlePath() {
|
||||||
const combined = parts.filter(Boolean).join("\n");
|
const combined = parts.filter(Boolean).join("\n");
|
||||||
const target = path.join(os.tmpdir(), `safe-chain-ca-bundle-${Date.now()}.pem`);
|
const target = path.join(os.tmpdir(), `safe-chain-ca-bundle-${Date.now()}.pem`);
|
||||||
fs.writeFileSync(target, combined, { encoding: "utf8" });
|
fs.writeFileSync(target, combined, { encoding: "utf8" });
|
||||||
cachedPath = target;
|
|
||||||
return target;
|
return target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue