Skip to content
This repository was archived by the owner on Feb 10, 2025. It is now read-only.

Commit 35f4248

Browse files
authored
fix lints (#97)
1 parent 5c54d45 commit 35f4248

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lib/src/utils.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,14 @@ bool isBlockNode(YamlNode node) {
7676

7777
if (node is YamlList &&
7878
(node.style == CollectionStyle.BLOCK ||
79-
node.style == CollectionStyle.ANY)) return true;
79+
node.style == CollectionStyle.ANY)) {
80+
return true;
81+
}
8082
if (node is YamlMap &&
8183
(node.style == CollectionStyle.BLOCK ||
82-
node.style == CollectionStyle.ANY)) return true;
84+
node.style == CollectionStyle.ANY)) {
85+
return true;
86+
}
8387

8488
return false;
8589
}

0 commit comments

Comments
 (0)