#262 - Fix related to YAML comments

This commit is contained in:
Elio Struyf
2022-02-21 18:06:41 +01:00
parent 65f77baf2b
commit ed4b78cfdc
+1 -1
View File
@@ -43,7 +43,7 @@ export const Engines = {
// Check if there are values to remove
for (const key in docYaml.toJSON()) {
if (!obj[key]) {
if (typeof obj[key] === undefined) {
docYaml.delete(key);
}
}