Skip to content

Commit

Permalink
fix(flexbox-gap): check for nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Oct 2, 2024
1 parent 14b4c0d commit eef4108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/features/flexbox-gap.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @type {import('../features').Feature}
*/
export default (rule) => {
if (!('some' in rule)) return false;
if (!('some' in rule) || !rule.nodes) return false;

let hasFlexbox = false;
let hasGap = false;
Expand Down

0 comments on commit eef4108

Please sign in to comment.