mirror of
https://ghproxy.net/https://github.com/wp-cli/wp-cli-bundle.git
synced 2025-10-04 01:57:07 +08:00
Remove conditional inclusion
This commit is contained in:
parent
1a42ded244
commit
30afdc571d
1 changed files with 1 additions and 5 deletions
|
@ -228,6 +228,7 @@ 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' )
|
||||
|
@ -243,11 +244,6 @@ 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