npm package diff
Package: yaml
Versions: 2.2.1 - 2.2.2
File: package/dist/stringify/stringifyCollection.js
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;