From 35f4248c7bbba289b3899fa55486e2f31ef1a8c5 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 7 Oct 2024 09:02:47 -0700 Subject: [PATCH] fix lints (#97) --- 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; }