Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo committed Oct 6, 2024
1 parent 5c54d45 commit 37dccc5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/src/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,14 @@ bool isBlockNode(YamlNode node) {

if (node is YamlList &&
(node.style == CollectionStyle.BLOCK ||
node.style == CollectionStyle.ANY)) return true;
node.style == CollectionStyle.ANY)) {
return true;
}
if (node is YamlMap &&
(node.style == CollectionStyle.BLOCK ||
node.style == CollectionStyle.ANY)) return true;
node.style == CollectionStyle.ANY)) {
return true;
}

return false;
}
Expand Down

0 comments on commit 37dccc5

Please sign in to comment.