Skip to content
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

Issue #5643 - 11.x - Fix return value of the \Drush\Sql\SqlPgsql::dbExists() #5645

Merged

Conversation

Sweetchuck
Copy link
Contributor

Issue #5643 - Fix return value of the \Drush\Sql\SqlPgsql::dbExists()

return $process->isSuccessful();

return $process->isSuccessful()
&& trim($process->getOutput() === '1');
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
&& trim($process->getOutput() === '1');
&& trim($process->getOutput()) === '1';

@Sweetchuck Sweetchuck changed the title Issue #5643 - Fix return value of the \Drush\Sql\SqlPgsql::dbExists() Issue #5643 - 11.x - Fix return value of the \Drush\Sql\SqlPgsql::dbExists() Jun 9, 2023
@Sweetchuck Sweetchuck force-pushed the issue-5643-11-sqlpgsql-dbexists branch from a5e41cd to c97a1ea Compare June 9, 2023 12:51
@weitzman weitzman merged commit 074b124 into drush-ops:11.x Jun 9, 2023
@Sweetchuck Sweetchuck deleted the issue-5643-11-sqlpgsql-dbexists branch June 9, 2023 18:06
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.

2 participants