@localhapp/cert-info
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -37,11 +37,11 @@ import certInfo from 'cert-info'; | ||
} | ||
const refreshCert = () => { | ||
const refreshCertInfo = () => { | ||
try { | ||
CERT = fs.readFileSync(path.join(DIR, 'cert.pem')).toString(); | ||
} catch (e) { | ||
console.log(e); | ||
console.log(`${kleur.red(figures.cross)} Oops: ${kleur.red("No")} certificate`); | ||
} | ||
} | ||
refreshCert(); | ||
refreshCertInfo(); | ||
@@ -51,3 +51,3 @@ export { | ||
getCertJson, | ||
refreshCert | ||
refreshCertInfo | ||
} |
{ | ||
"name": "@localhapp/cert-info", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2131