Skip to content

Commit f0b9ef8

Browse files
committed
Merge branch 'feature/write-mail-to-config' of https://github.com/mrrobot47/site-command into mrrobot47-feature/write-mail-to-config
2 parents 76ba801 + 6e4e83c commit f0b9ef8

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)