mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-03 00:11:36 +02:00
#262 - Fix related to YAML comments
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user