Skip to content

Commit a38d1b7

Browse files
authored
Pass both containers (drush-ops#5931)
1 parent d3d3e31 commit a38d1b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/Commands/generate/GenerateCommands.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ public function generate(string $generator = '', $options = ['replace' => false,
111111
public function generatorNameComplete(CompletionInput $input, CompletionSuggestions $suggestions): void
112112
{
113113
if ($input->mustSuggestArgumentValuesFor('generator')) {
114-
$application = (new ApplicationFactory($this->container, $this->logger()))->create();
114+
$application = (new ApplicationFactory($this->container, $this->drush_container, $this->logger()))->create(
115+
);
115116
foreach ($application->all() as $name => $command) {
116117
if ($command->isEnabled() && !$command->isHidden()) {
117118
$suggestions->suggestValue($name);

0 commit comments

Comments
 (0)