Skip to content

Commit 1f4b4b5

Browse files
authored
[BUGFIX] Search for autoloader (#9)
Fixes the search for the package itself during development.
1 parent 35bd839 commit 1f4b4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
$setup = function($scriptPath, string $type = null, $forceOption = null) {
66
$rootPath = getcwd();
77

8-
$dir = \dirname(__DIR__);
8+
$dir = __DIR__ . '/vendor';
99
while (!file_exists($dir . '/autoload.php')) {
1010
if ($dir === $rootPath) {
1111
exit(1);

0 commit comments

Comments
 (0)