Skip to content

Commit fd30cfe

Browse files
committed
Fix linting
1 parent 6f281fe commit fd30cfe

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

backend/internal/certificate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ const internalCertificate = {
874874
// Escape single quotes and backslashes
875875
const escapedCredentials = certificate.meta.dns_provider_credentials.replaceAll('\'', '\\\'').replaceAll('\\', '\\\\');
876876
const credentialsCmd = 'mkdir -p /etc/letsencrypt/credentials 2> /dev/null; echo \'' + escapedCredentials + '\' > \'' + credentialsLocation + '\' && chmod 600 \'' + credentialsLocation + '\'';
877-
let prepareCmd = 'pip install ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies;
877+
let prepareCmd = 'pip install ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies;
878878

879879
// Special case for cloudflare
880880
if (dns_plugin.package_name === 'certbot-dns-cloudflare') {

backend/setup.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,14 @@ const setupCertbotPlugins = () => {
169169
.andWhere('provider', 'letsencrypt')
170170
.then((certificates) => {
171171
if (certificates && certificates.length) {
172-
let plugins = [];
173-
let promises = [];
172+
let plugins = [];
173+
let promises = [];
174174
let install_cloudflare_plugin = false;
175175

176176
certificates.map(function (certificate) {
177177
if (certificate.meta && certificate.meta.dns_challenge === true) {
178-
const dns_plugin = dns_plugins[certificate.meta.dns_provider];
178+
const dns_plugin = dns_plugins[certificate.meta.dns_provider];
179+
179180
if (dns_plugin.package_name === 'certbot-dns-cloudflare') {
180181
install_cloudflare_plugin = true;
181182
} else {

0 commit comments

Comments
 (0)