Skip to content

Commit

Permalink
ISSUE-370: check for empty instead of negating the value
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-aveiga committed Oct 2, 2024
1 parent 12d7325 commit 5ce7255
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ScaffoldInstallerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ private function _checkComposerPatchesAreLocal()
return;
}

// Patches content is not empty.
if (!$patchesContent) {
if (empty($patchesContent)) {
return;
}

Expand Down

0 comments on commit 5ce7255

Please sign in to comment.