Skip to content

Commit

Permalink
fix lints (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Oct 7, 2024
1 parent 5c54d45 commit 35f4248
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 35f4248

Please sign in to comment.