Skip to content

Commit b6e7ee0

Browse files
committed
fix: check is empty admin credentials
1 parent 7d538d2 commit b6e7ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/InitCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ protected function fillCredentialsAndAccess(string $kebabName): void
333333
{
334334
$filePart = $this->loadReadmePart('CREDENTIALS_AND_ACCESS.md');
335335

336-
if ($this->adminCredentials) {
336+
if (!empty($this->adminCredentials)) {
337337
$this->setReadmeValue($filePart, 'admin_email', $this->adminCredentials['email']);
338338
$this->setReadmeValue($filePart, 'admin_password', $this->adminCredentials['password']);
339339
}

0 commit comments

Comments
 (0)