Skip to content

Commit ee0919e

Browse files
authored
Fix passing command name to PackageService (#310)
1 parent f033cf8 commit ee0919e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/App/Command/Git/CloneCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function processPackage(Package $package): void
4141
$io = $this->getIO();
4242
$io->preparePackageHeader($package, 'Cloning package {package}');
4343

44-
$this->packageService->gitClone($package, self::$defaultName, $this->getErrorsList(), $io);
44+
$this->packageService->gitClone($package, $this->getName(), $this->getErrorsList(), $io);
4545

4646
if ($this->doesPackageContainErrors($package)) {
4747
return;

src/App/Command/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected function processPackage(Package $package): void
7070
$io->preparePackageHeader($package, 'Installing package {package}');
7171

7272
if (!$package->isGitRepositoryCloned()) {
73-
$this->packageService->gitClone($package, self::$defaultName, $this->getErrorsList(), $io);
73+
$this->packageService->gitClone($package, $this->getName(), $this->getErrorsList(), $io);
7474

7575
if ($this->doesPackageContainErrors($package)) {
7676
return;

0 commit comments

Comments
 (0)