Fix linting issues

This commit is contained in:
Reinier Criel 2025-12-08 15:36:37 -08:00 committed by Sander Declerck
parent 4210d00ac4
commit d96cf7d14d
No known key found for this signature in database

View file

@ -43,9 +43,6 @@ function isParsable(pem) {
}
}
/** @type {string | null} */
let cachedPath = null;
/**
* Build a combined CA bundle.
* Automatically includes:
@ -104,7 +101,6 @@ export function getCombinedCaBundlePath() {
const combined = parts.filter(Boolean).join("\n");
const target = path.join(os.tmpdir(), `safe-chain-ca-bundle-${Date.now()}.pem`);
fs.writeFileSync(target, combined, { encoding: "utf8" });
cachedPath = target;
return target;
}