From ae02f8c0125db8675701ad8bc573e3fb224c32fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Thu, 25 Apr 2024 07:46:48 +0200 Subject: [PATCH] Try only 1 autoloader --- bin/strauss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/strauss b/bin/strauss index 169dcba5..a366bd18 100755 --- a/bin/strauss +++ b/bin/strauss @@ -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 );