Skip to content

Commit

Permalink
fix directory separator
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Gaal committed Aug 12, 2022
1 parent e10b525 commit 8c852d8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Commands/ExecuteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public function handle()
protected function getProjectAliases(): array
{
$file = match (true) {
File::exists($path = getcwd() . '/aliases.dev.json') => File::get($path),
File::exists($path = getcwd() . '/aliases.json') => File::get($path),
File::exists($path = getcwd() . DIRECTORY_SEPARATOR . 'aliases.dev.json') => File::get($path),
File::exists($path = getcwd() . DIRECTORY_SEPARATOR . 'aliases.json') => File::get($path),
default => throw new FileNotFoundException('aliases.json or aliases.dev.json not found.')
};

Expand Down
File renamed without changes.
Binary file modified builds/alias
Binary file not shown.

0 comments on commit 8c852d8

Please sign in to comment.