Skip to content

Commit

Permalink
Merge pull request #77 from adragus-inviqa/patch-1
Browse files Browse the repository at this point in the history
Be explicit about the reasons for not applying patches
  • Loading branch information
cweagans committed Dec 1, 2016
2 parents 0748b54 + 5421b4f commit 7cd5c6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Patches.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,12 @@ public function checkPatches(Event $event) {
public function gatherPatches(PackageEvent $event) {
// If we've already done this, then don't do it again.
if (isset($this->patches['_patchesGathered'])) {
$this->io->write('<info>Patches already gathered. Skipping</info>');
return;
}
// If patching has been disabled, bail out here.
elseif (!$this->isPatchingEnabled()) {
$this->io->write('<info>Patching is disabled. Skipping.</info>');
return;
}

Expand Down

0 comments on commit 7cd5c6e

Please sign in to comment.