File tree Expand file tree Collapse file tree 1 file changed +1
-22
lines changed
Expand file tree Collapse file tree 1 file changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -226,6 +226,7 @@ function get_composer_versions( $current_version ) {
226226 ->ignoreVCS (true )
227227 ->ignoreDotFiles (false )
228228 ->in ( WP_CLI_ROOT . '/templates ' )
229+ ->in ( WP_CLI_VENDOR_DIR . '/wp-cli/*-command/templates ' )
229230 ;
230231
231232foreach ( $ finder as $ file ) {
@@ -253,28 +254,6 @@ function get_composer_versions( $current_version ) {
253254 add_file ( $ phar , $ file );
254255 }
255256 }
256-
257- $ finder = new Finder ();
258- $ finder
259- ->files ()
260- ->ignoreVCS (true )
261- ->ignoreDotFiles (false )
262- ->in ( WP_CLI_VENDOR_DIR . '/wp-cli/config-command/templates ' )
263- ;
264- foreach ( $ finder as $ file ) {
265- add_file ( $ phar , $ file );
266- }
267-
268- $ finder = new Finder ();
269- $ finder
270- ->files ()
271- ->ignoreVCS (true )
272- ->ignoreDotFiles (false )
273- ->in ( WP_CLI_VENDOR_DIR . '/wp-cli/scaffold-command/templates ' )
274- ;
275- foreach ( $ finder as $ file ) {
276- add_file ( $ phar , $ file );
277- }
278257}
279258
280259add_file ( $ phar , WP_CLI_VENDOR_DIR . '/autoload.php ' );
You can’t perform that action at this time.
0 commit comments