-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom mysql flags for db exec command #549
base: master
Are you sure you want to change the base?
Conversation
inc/composer/class-command.php
Outdated
$options = $input->getArgument( 'options' ) ?? []; | ||
array_shift( $options ); // remove the subcommand, we don't need it | ||
$query = array_pop( $options ) ?: null; // the query is always the last option | ||
$args = count( $options ) > 1 ? implode( ' ', $options ) : ''; // implode all optional options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elsewhere in this file the comments are all on their own line before the code they're describing, rather than line-ending comments. I'd suggest maintaining "keep comments on their own line" for consistency with the existing style.
Co-authored-by: Robert O'Rourke <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The failed test looks it's just because the Kibana container didn't come up properly
Fixes #548