Fixes linting errors

This commit is contained in:
chaptergy 2020-10-14 09:55:45 +02:00
parent 049e424957
commit ac9f052309

View File

@ -814,10 +814,10 @@ const internalCertificate = {
) + ) +
(le_staging ? ' --staging' : ''); (le_staging ? ' --staging' : '');
// Prepend the path to the credentials file as an environment variable // Prepend the path to the credentials file as an environment variable
if (certificate.meta.dns_provider === 'route53') { if (certificate.meta.dns_provider === 'route53') {
main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd;
} }
const teardown_cmd = `rm '${credentials_loc}'`; const teardown_cmd = `rm '${credentials_loc}'`;
@ -934,7 +934,7 @@ const internalCertificate = {
// Prepend the path to the credentials file as an environment variable // Prepend the path to the credentials file as an environment variable
if (certificate.meta.dns_provider === 'route53') { if (certificate.meta.dns_provider === 'route53') {
main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd main_cmd = 'AWS_CONFIG_FILE=\'' + credentials_loc + '\' ' + main_cmd;
} }
const teardown_cmd = `rm '${credentials_loc}'`; const teardown_cmd = `rm '${credentials_loc}'`;