Fixes eslint errors

This commit is contained in:
chaptergy
2020-10-17 12:25:36 +02:00
parent 1028de8158
commit 08ab62108f
2 changed files with 30 additions and 28 deletions

View File

@ -932,7 +932,8 @@ const internalCertificate = {
// Prepend the path to the credentials file as an environment variable
if (certificate.meta.dns_provider === 'route53') {
main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd;
const credentials_loc = '/etc/letsencrypt/credentials/credentials-' + certificate.id;
main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd;
}
if (debug_mode) {