Skip to content

Commit db75e17

Browse files
authored
Merge pull request #6 from toddbc/reverse
Avoid confusing error on reverse failure
2 parents 36d9f28 + 1b039b7 commit db75e17

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "jamescowie/composer-patcher",
33
"description": "Apply patches using composer",
44
"license": "MIT",
5-
"version": "1.0.2",
5+
"version": "1.0.3",
66
"authors": [
77
{
88
"name": "jamescowie",

src/Inviqa/Patch/Patch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ protected function isApplied()
9696

9797
return $result;
9898
} catch (\Exception $e) {
99-
$this->getOutput()->writeln("<comment>{$e->getMessage()}</comment>");
99+
// Ignore errors on the reverse, since it probably means it wasn't applied.
100100
return false;
101101
}
102102
}

0 commit comments

Comments
 (0)