Skip to content

Commit

Permalink
fix bin path in composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Gaal committed Aug 12, 2022
1 parent e10b525 commit 25c3b35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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
Binary file modified builds/alias
Binary file not shown.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@
},
"minimum-stability": "dev",
"prefer-stable": true,
"bin": ["alias"]
"bin": ["builds/alias"]
}

0 comments on commit 25c3b35

Please sign in to comment.