File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -874,7 +874,7 @@ const internalCertificate = {
874
874
// Escape single quotes and backslashes
875
875
const escapedCredentials = certificate . meta . dns_provider_credentials . replaceAll ( '\'' , '\\\'' ) . replaceAll ( '\\' , '\\\\' ) ;
876
876
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 ;
878
878
879
879
// Special case for cloudflare
880
880
if ( dns_plugin . package_name === 'certbot-dns-cloudflare' ) {
Original file line number Diff line number Diff line change @@ -169,13 +169,14 @@ const setupCertbotPlugins = () => {
169
169
. andWhere ( 'provider' , 'letsencrypt' )
170
170
. then ( ( certificates ) => {
171
171
if ( certificates && certificates . length ) {
172
- let plugins = [ ] ;
173
- let promises = [ ] ;
172
+ let plugins = [ ] ;
173
+ let promises = [ ] ;
174
174
let install_cloudflare_plugin = false ;
175
175
176
176
certificates . map ( function ( certificate ) {
177
177
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
+
179
180
if ( dns_plugin . package_name === 'certbot-dns-cloudflare' ) {
180
181
install_cloudflare_plugin = true ;
181
182
} else {
You can’t perform that action at this time.
0 commit comments