Skip to content

Commit 6b0c578

Browse files
Merge pull request #3 from wp-cli/fix-missing-autoloader-symlink
Add missing symlink to autoloader
2 parents a189c4d + b18e4b6 commit 6b0c578

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.maintenance/symlink-vendor-folders.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
// Symlink entries already contain the `vendor/` folder suffix.
1717
symlink( "../../{$symlink}", "{$repository}/{$symlink}" );
1818
}
19+
20+
// Symlink the autoloader as well so commands can be properly loaded.
21+
symlink( "../../vendor/autoload.php", "{$repository}/vendor/autoload.php" );
1922
}
2023
}

0 commit comments

Comments
 (0)