yaml

2.2.12.2.2
dist/stringify/stringifyCollection.js
dist/stringify/stringifyCollection.js
+1−1
Index: package/dist/stringify/stringifyCollection.js
===================================================================
--- package/dist/stringify/stringifyCollection.js
+++ package/dist/stringify/stringifyCollection.js
@@ -134,9 +134,9 @@
             str = `${start}${fcPadding}${lines.join(' ')}${fcPadding}${end}`;
         }
     }
     if (comment) {
-        str += stringifyComment.lineComment(str, commentString(comment), indent);
+        str += stringifyComment.lineComment(str, indent, commentString(comment));
         if (onComment)
             onComment();
     }
     return str;