Skip to content

Commit c929fd6

Browse files
committed
generating additional scope if repository already exists
1 parent 05e1a28 commit c929fd6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Commands/RepositoryMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class RepositoryMakeCommand extends GeneratorCommand
3535
*/
3636
public function handle()
3737
{
38-
if (parent::handle() === false && ! $this->option('force')) {
39-
return false;
38+
if (parent::handle() === false) {
39+
return true;
4040
}
4141
}
4242

src/Commands/RepositoryScopesMakeCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ class RepositoryScopesMakeCommand extends GeneratorCommand
3535
*/
3636
public function handle()
3737
{
38-
if (parent::handle() === false && ! $this->option('force')) {
39-
return false;
38+
if (parent::handle() === false) {
39+
return true;
4040
}
4141
}
4242

0 commit comments

Comments
 (0)