Skip to content

Commit 4e49bdf

Browse files
authored
1 parent ad84210 commit 4e49bdf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pkgs/yaml_edit/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)