Fix syntax .

This commit is contained in:
Alex G 2024-01-21 10:09:59 +01:00 committed by GitHub
parent 60b5562984
commit 97d9c2dfc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,14 +129,12 @@ const setupCertbotPlugins = () => {
});
if (!plugins.length) return;
Promise.all(promises)
.then(() => {
if (promises.length) {
return Promise.all(promises)
.then(() => {
logger.info('Added Certbot plugins ' + plugins.join(', '));
});
}
});
})
}
});
};