Update certificate.js

This commit is contained in:
MarceloLagos 2020-10-17 23:46:18 -06:00 committed by GitHub
parent 7ba58bdbd3
commit 190cd2d6bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -614,7 +614,6 @@ const internalCertificate = {
if (!result.toLowerCase().includes('key ok') && !result.toLowerCase().includes('key valid') ) { if (!result.toLowerCase().includes('key ok') && !result.toLowerCase().includes('key valid') ) {
throw new error.ValidationError('Result Validation Error: ' + result); throw new error.ValidationError('Result Validation Error: ' + result);
} }
fs.unlinkSync(filepath); fs.unlinkSync(filepath);
return true; return true;
}).catch((err) => { }).catch((err) => {