Skip to content

Commit

Permalink
Merge pull request #456 from zahid-aziz/master
Browse files Browse the repository at this point in the history
🔧 Fixes params splitting issues for other rules
  • Loading branch information
peterramsing authored Aug 15, 2022
2 parents a47413c + 82d6a7d commit d73a5f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/lost-at-rule.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = function lostAtRule(rule, settings) {
const breakoutParams = rule.params.split(' ');

if (rule.name != 'lost') {
return;
}
const breakoutParams = rule.params.split(' ');

if (breakoutParams[0] === 'gutter') {
settings.gutter = breakoutParams[1];
}
Expand Down

0 comments on commit d73a5f5

Please sign in to comment.