Skip to content

Commit

Permalink
dont prompt when you pass email
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Oct 24, 2024
1 parent bb203e1 commit eb935a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ protected function makeSuperUser()
}

// Since Windows cannot TTY, we'll capture their input here and make a user.
if ($this->input->isInteractive() && PHP_OS_FAMILY === 'Windows') {
if ($this->input->isInteractive() && ! $email && PHP_OS_FAMILY === 'Windows') {
return $this->makeSuperUserInWindows();
}

Expand Down

0 comments on commit eb935a0

Please sign in to comment.