tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/src/lsp/util/removeMeta.ts b/src/lsp/util/removeMeta.ts
index 7e379a81a580ee60a4462230a61dd134afe32e9e..dfe58d336a4d4f355d1e634175694e44d8d4e756 100644
--- a/src/lsp/util/removeMeta.ts
+++ b/src/lsp/util/removeMeta.ts
@@ -3,9 +3,10 @@
export default function removeMeta(obj: any): any {
let result = {}
for (let key in obj) {
+ if (key.substr(0, 2) === '__') continue
if (isObject(obj[key])) {
result[key] = removeMeta(obj[key])
- } else if (key.substr(0, 2) !== '__') {
+ } else {
result[key] = obj[key]
}
}