Skip to content

Commit

Permalink
fix: add force flag to app:update
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Aug 5, 2024
1 parent f4d0748 commit 036cd4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Services/AppHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function updateApps(): void
continue;
}

$this->processHelper->console(['app:update', $app['name']]);
$this->processHelper->console(['app:update', $app['name'], '--force']);
}
}
}
2 changes: 1 addition & 1 deletion tests/Services/AppHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function testUpdate(): void
$processHelper
->expects($this->once())
->method('console')
->with(['app:update', 'TestApp']);
->with(['app:update', 'TestApp', '--force']);

$connection = $this->createMock(Connection::class);
$connection
Expand Down

0 comments on commit 036cd4b

Please sign in to comment.