Skip to content

Commit

Permalink
Pass test. (We don’t really have reason to requireDev here anymore.)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Nov 26, 2024
1 parent c299481 commit 261f689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/StarterKits/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function () {
: $this->package;

try {
Composer::withoutQueue()->throwOnFailure()->requireDev($package);
Composer::withoutQueue()->throwOnFailure()->require($package);
} catch (ProcessException $exception) {
$this->rollbackWithError("Error installing starter kit [{$package}].", $exception->getMessage());
}
Expand Down Expand Up @@ -555,7 +555,7 @@ public function removeStarterKit(): self
spin(
function () {
if (Composer::isInstalled($this->package)) {
Composer::withoutQueue()->throwOnFailure(false)->removeDev($this->package);
Composer::withoutQueue()->throwOnFailure(false)->remove($this->package);
}
},
'Cleaning up temporary files...'
Expand Down

0 comments on commit 261f689

Please sign in to comment.