Skip to content

Commit

Permalink
Try only 1 autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored Apr 25, 2024
1 parent 63f56a7 commit ae02f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/strauss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ call_user_func(function ($version) {
require $autoload;
}

if ( is_file( $autoload = __DIR__ . '/../vendor/autoload.php' ) ) {
elseif ( is_file( $autoload = __DIR__ . '/../vendor/autoload.php' ) ) {
require( $autoload );
} elseif ( is_file( $autoload = __DIR__ . '/../../../autoload.php' ) ) {
require( $autoload );
Expand Down

0 comments on commit ae02f8c

Please sign in to comment.