We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d19f5c1 commit 13fbc53Copy full SHA for 13fbc53
1 file changed
backend/internal/certificate.js
@@ -660,8 +660,8 @@ const internalCertificate = {
660
* @param {Boolean} [throwExpired] Throw when the certificate is out of date
661
*/
662
getCertificateInfo: async (certificate, throwExpired) => {
663
+ const filepath = await tempWrite(certificate, "/tmp");
664
try {
- const filepath = await tempWrite(certificate, "/tmp");
665
const certData = await internalCertificate.getCertificateInfoFromFile(filepath, throwExpired);
666
fs.unlinkSync(filepath);
667
return certData;
0 commit comments