Skip to content

Commit

Permalink
CLI-1082: [pull:db] typed property dir must not be accessed before in…
Browse files Browse the repository at this point in the history
…itialization (#1531)
  • Loading branch information
danepowell authored Jun 8, 2023
1 parent 799698e commit 06b48df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Command/Pull/PullCommandBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ protected function pullCode(InputInterface $input, OutputInterface $output): voi
* @param bool $noImport Skip import.
*/
protected function pullDatabase(InputInterface $input, OutputInterface $output, bool $onDemand = FALSE, bool $noImport = FALSE, bool $multipleDbs = FALSE): void {
$this->setDirAndRequireProjectCwd($input);
if (!$noImport) {
// Verify database connection.
$this->connectToLocalDatabase($this->getLocalDbHost(), $this->getLocalDbUser(), $this->getLocalDbName(), $this->getLocalDbPassword(), $this->getOutputCallback($output, $this->checklist));
Expand Down

0 comments on commit 06b48df

Please sign in to comment.