From 37dccc56707b41c8bf83c98d0cec8f27f80689d6 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Sun, 6 Oct 2024 11:31:29 -0700 Subject: [PATCH] fix lints --- lib/src/utils.dart | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/src/utils.dart b/lib/src/utils.dart index c1e1755..ef85526 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -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; }