fix lints (dart-lang/yaml_edit#97)

diff --git a/pkgs/yaml_edit/lib/src/utils.dart b/pkgs/yaml_edit/lib/src/utils.dart
index c1e1755..ef85526 100644
--- a/pkgs/yaml_edit/lib/src/utils.dart
+++ b/pkgs/yaml_edit/lib/src/utils.dart
@@ -76,10 +76,14 @@
 
   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;
 }