Skip to content

Commit

Permalink
Merge pull request #1059 from jamesgeorge007/feat/remove-extraneous-b…
Browse files Browse the repository at this point in the history
…lock

chore(GroupHelper): minor tweak
  • Loading branch information
evenstensberg authored Aug 26, 2019
2 parents 4b9a789 + f44d8a5 commit 0f9c649
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/utils/group-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ class GroupHelper {
}
mapArgToBoolean(name, optionName) {
ifArg(name, function(bool) {
if (bool === true) options[optionName || name] = true;
else if (bool === false) options[optionName || name] = false;
if (bool === true) {
options[optionName || name] = true;
} else if (bool === false) {
options[optionName || name] = false;
}
});
}

Expand Down

0 comments on commit 0f9c649

Please sign in to comment.