mirror of
https://ghproxy.net/https://github.com/wp-cli/wp-cli-bundle.git
synced 2025-10-04 06:55:06 +08:00
parent
5b86c7609a
commit
42f12caa5f
1 changed files with 5 additions and 1 deletions
|
@ -230,7 +230,6 @@ if ( 'cli' === BUILD ) {
|
|||
->in( WP_CLI_VENDOR_DIR . '/nb/oxymel' )
|
||||
->in( WP_CLI_VENDOR_DIR . '/psr' )
|
||||
->in( WP_CLI_VENDOR_DIR . '/seld' )
|
||||
->in( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' )
|
||||
->in( WP_CLI_VENDOR_DIR . '/justinrainbow/json-schema' )
|
||||
->in( WP_CLI_VENDOR_DIR . '/gettext' )
|
||||
->in( WP_CLI_VENDOR_DIR . '/mck89' )
|
||||
|
@ -246,6 +245,11 @@ if ( 'cli' === BUILD ) {
|
|||
->exclude( 'composer/composer/src/Composer/Question' )
|
||||
->exclude( 'composer/composer/src/Composer/Repository/Pear' )
|
||||
->exclude( 'composer/composer/src/Composer/SelfUpdate' );
|
||||
|
||||
// required by justinrainbow/json-schema v6+.
|
||||
if ( is_dir( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' ) ) {
|
||||
$finder->in( WP_CLI_VENDOR_DIR . '/marc-mabe/php-enum' );
|
||||
}
|
||||
}
|
||||
|
||||
foreach ( $finder as $file ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue