Commit 06035a7e authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '8-typology-undefined' into 'master'

Resolve "typology undefined"

Closes #8

See merge request histhub/wikidata-normalizer!18
parents 0559d636 750f39a8
......@@ -164,7 +164,7 @@ class WikiNormalizer extends Transform {
return typeof instanceOf.mainsnak.datavalue.value.id === 'undefined' ?
null : instanceOf.mainsnak.datavalue.value.id;
} catch (err) {}
});
}).filter((instance) => typeof instance !== 'undefined');
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment