Skip to content

Commit bfa6018

Browse files
authored
Merge pull request #637 from darrenoh/patch-1
Fix freeform patcher applying patch during dry run
2 parents 8e89df2 + 2ab6fbf commit bfa6018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Patcher/FreeformPatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function apply(Patch $patch, string $path): bool
2929
// If we have dry-run args, do a dry-run.
3030
if (!empty($dryRunArgs)) {
3131
$status = $this->executeCommand(
32-
'%s ' . $args,
32+
'%s ' . $dryRunArgs,
3333
$patchTool,
3434
$patch->depth,
3535
$path,

0 commit comments

Comments
 (0)