We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 637260f commit 981ad3cCopy full SHA for 981ad3c
src/Patcher.php
@@ -78,10 +78,6 @@ protected function patch(string $file, int $batch): void
78
79
$runTime = round(microtime(true) - $startTime, 2);
80
81
- if (!$patch->isPerpetual) {
82
- $this->repository->log($name, $batch);
83
- }
84
-
85
$this->write(
86
TwoColumnDetail::class,
87
$info,
@@ -90,10 +86,14 @@ protected function patch(string $file, int $batch): void
90
} else {
91
92
88
93
- "Patching: $info is not eligible to run in current condition",
89
+ "$info is not eligible to run in current condition",
94
'<fg=yellow;options=bold>SKIPPED</>'
95
);
96
}
+
+ if (!$patch->isPerpetual) {
+ $this->repository->log($name, $batch);
+ }
97
98
99
/**
0 commit comments