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; if (!plugins.length) return;
.then(() => { Promise.all(promises)
if (promises.length) { .then(() => {
return Promise.all(promises) if (promises.length) {
.then(() => { logger.info('Added Certbot plugins ' + plugins.join(', '));
logger.info('Added Certbot plugins ' + plugins.join(', ')); }
}); })
}
});
} }
}); });
}; };