Skip to content

Commit cbba494

Browse files
committed
refactor: update artisan path resolution to use current working directory
1 parent 01204b8 commit cbba494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Install/CodeEnvironment/CodeEnvironment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getPhpPath(): string
4747

4848
public function getArtisanPath(): string
4949
{
50-
return $this->useAbsolutePathForMcp() ? base_path('artisan') : './artisan';
50+
return $this->useAbsolutePathForMcp() ? getcwd().'/artisan' : './artisan';
5151

5252
}
5353

0 commit comments

Comments
 (0)