Skip to content

Commit 8dee139

Browse files
committed
Fix linter issues
1 parent 6349cb6 commit 8dee139

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

backend/internal/certificate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@ const internalCertificate = {
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 + '\'';
877877
// we call `. /opt/certbot/bin/activate` (`.` is alternative to `source` in dash) to access certbot venv
878-
let prepareCmd = '. /opt/certbot/bin/activate && pip install ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies + " && deactivate";
878+
let prepareCmd = '. /opt/certbot/bin/activate && pip install ' + dns_plugin.package_name + (dns_plugin.version_requirement || '') + ' ' + dns_plugin.dependencies + ' && deactivate';
879879

880880
// Whether the plugin has a --<name>-credentials argument
881881
const hasConfigArg = certificate.meta.dns_provider !== 'route53';

backend/setup.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ 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

175175
certificates.map(function (certificate) {
176176
if (certificate.meta && certificate.meta.dns_challenge === true) {
@@ -189,7 +189,7 @@ const setupCertbotPlugins = () => {
189189
});
190190

191191
if (plugins.length) {
192-
const install_cmd = '. /opt/certbot/bin/activate && pip install ' + plugins.join(' ') + " && deactivate";
192+
const install_cmd = '. /opt/certbot/bin/activate && pip install ' + plugins.join(' ') + ' && deactivate';
193193
promises.push(utils.exec(install_cmd));
194194
}
195195

0 commit comments

Comments
 (0)