Fix syntax .
This commit is contained in:
parent
60b5562984
commit
97d9c2dfc5
1 changed files with 6 additions and 8 deletions
|
@ -129,14 +129,12 @@ const setupCertbotPlugins = () => {
|
|||
});
|
||||
|
||||
if (!plugins.length) return;
|
||||
.then(() => {
|
||||
if (promises.length) {
|
||||
return Promise.all(promises)
|
||||
.then(() => {
|
||||
logger.info('Added Certbot plugins ' + plugins.join(', '));
|
||||
});
|
||||
}
|
||||
});
|
||||
Promise.all(promises)
|
||||
.then(() => {
|
||||
if (promises.length) {
|
||||
logger.info('Added Certbot plugins ' + plugins.join(', '));
|
||||
}
|
||||
})
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue