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