We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a517e34 commit 01204b8Copy full SHA for 01204b8
src/Install/CodeEnvironment/CodeEnvironment.php
@@ -47,11 +47,7 @@ public function getPhpPath(): string
47
48
public function getArtisanPath(): string
49
{
50
- if (! $this->useAbsolutePathForMcp()) {
51
- return './artisan';
52
- }
53
-
54
- return base_path('artisan');
+ return $this->useAbsolutePathForMcp() ? base_path('artisan') : './artisan';
55
56
}
57
0 commit comments