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 = {
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' ) {
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments