Skip to content

Commit c945210

Browse files
committed
fix: add temporary check for input cast
1 parent 47bc299 commit c945210

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "leafs/cli",
33
"description": "A simple command line tool for installing and interacting with your leaf apps",
44
"homepage": "https://cli.leafphp.dev",
5-
"version": "v4.0",
5+
"version": "v4.0.1",
66
"keywords": [
77
"leaf",
88
"php",

src/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ protected function handle(): int
2424
}
2525

2626
$package = str_replace('@', ':', $package);
27-
$package = $this->option('dev') ? "$package --dev" : $package;
27+
$package = ($this->option('dev') === "true") ? "$package --dev" : $package;
2828

2929
$parsedPackages[] = $package;
3030
}

0 commit comments

Comments
 (0)