Skip to content

Conversation

@weitzman
Copy link
Member

Thus removing some no longer needed code from annotation_adapter.inc

if (annotation_adapter_is_annotated($command)) {
// The canonical options list is now in $application
$application = Drush::getApplication();
annotation_adapter_add_legacy_commands_to_application($application);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might we end up doing this multiple times, or is _drush_verify_cli_options() guaranteed to be called only once (including redispatches, etc)? If called multiple times, would that cause any problems?

@greg-1-anderson
Copy link
Member

Do you know what is causing Failed asserting that 'Calling proc_open('git pull' origin --rebase);' contains "Calling proc_open(git pull origin --rebase);".? Quoting errors in various calls to exec are causing a lot of test failures. The changes in this PR seem unrelated to the code that composes commands, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants