File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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' ;
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments