Skip to content

Commit c8a8cfe

Browse files
committed
fix
1 parent 02712c6 commit c8a8cfe

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/OpenMage/ComposerPlugin/Copy/AbstractCopyPlugin.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,26 @@ protected function getMageRootDirectoryFromComposer(): string
261261
return '';
262262
}
263263

264+
protected function getCopyTargetPath(): string
265+
{
266+
return sprintf(
267+
'%s/%s%s',
268+
$this->getCwd(),
269+
$this->getMageRootDirectoryFromComposer(),
270+
$this->getCopyTarget(),
271+
);
272+
}
273+
264274
protected function getInstalledComposerPackage(string $vendorName): ?BasePackage
265275
{
266276
return $this->composerPackages[$vendorName] ?? null;
267277
}
268278

279+
protected function setInstalledComposerPackage(string $vendorName, BasePackage $package): void
280+
{
281+
$this->composerPackages[$vendorName] = $package;
282+
}
283+
269284
public function getFileSystem(): Filesystem
270285
{
271286
return new Filesystem();

0 commit comments

Comments
 (0)