Skip to content

Commit 7689b1a

Browse files
committed
Merge branch 'mrrobot47-feature/write-mail-to-config' into develop
2 parents 76ba801 + f0b9ef8 commit 7689b1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Site_Command.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ public function delete( $args, $assoc_args ) {
281281
private function init_le() {
282282
$client = new Site_Letsencrypt();
283283
$this->le_mail = EE::get_runner()->config[ 'le-mail' ] ?? EE::input( 'Enter your mail id: ' );
284+
EE::get_runner()->ensure_present_in_config( 'le-mail', $this->le_mail );
284285
if ( ! $client->register( $this->le_mail ) ) {
285286
$this->le = false;
286287

0 commit comments

Comments
 (0)