Remove unused variable 'err'
This commit is contained in:
parent
8aa2516a55
commit
65e54d00dd
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ const internalCertificate = {
|
||||||
|
|
||||||
fs.unlinkSync(filepath);
|
fs.unlinkSync(filepath);
|
||||||
return true;
|
return true;
|
||||||
}).catch((err) => {
|
}).catch(() => {
|
||||||
return utils.exec('openssl ec -in ' + filepath + ' -check -noout')
|
return utils.exec('openssl ec -in ' + filepath + ' -check -noout')
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
if (!result.toLowerCase().includes('key ok')) {
|
if (!result.toLowerCase().includes('key ok')) {
|
||||||
|
|
Loading…
Reference in a new issue