Skip to content

Commit

Permalink
Merge branch 'roots:main' into fse
Browse files Browse the repository at this point in the history
  • Loading branch information
dsturm authored Feb 3, 2024
2 parents 77b1049 + 4a26ed7 commit fa4d942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Roots/Acorn/Bootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ protected function basePath(): string
*/
protected function environmentPath(): string
{
return is_file($envPath = $this->files->closest($this->basePath(), '.env'))
return is_file($envPath = $this->files->closest($this->basePath(), '.env') ?? '')
? dirname($envPath)
: $this->basePath();
}
Expand Down

0 comments on commit fa4d942

Please sign in to comment.