Skip to content

Commit 8f2b00a

Browse files
committed
Fix typo
1 parent 1b9bc0d commit 8f2b00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PatchApplicator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public function applyPatch(Patch $patch, PackageInterface $sourcePackage, Packag
159159
$patchFilename = $this->pathResolver->getPatchSourceFilePath($sourcePackage, $patch);
160160

161161
if (!$this->executePatchCommand($patch->getMethod(), $targetDirectory, $patchFilename, $patch->getStripPathComponents())) {
162-
throw new PatchApplicationFailedException($patchFilename, $this->lastCmdOutput);
162+
throw new PatchApplicationFailedException($this->lastCmd, $this->lastCmdOutput);
163163
}
164164

165165
$this->logger->notice(sprintf('Applied patch <info>%s:%s</info> [<comment>%s</comment>] (<comment>%s</comment>) using <comment>%s</comment> method',

0 commit comments

Comments
 (0)