Fix innerText bug

main
Elbert Alias 3 years ago
parent 65b34689f2
commit fb7eee340c

@ -83,7 +83,7 @@ async function getDom(technologies) {
if (text) { if (text) {
// eslint-disable-next-line unicorn/prefer-text-content // eslint-disable-next-line unicorn/prefer-text-content
const value = node.innerText.trim() const value = node.innerText ? node.innerText.trim() : ''
if (value) { if (value) {
technologies.push({ technologies.push({

Loading…
Cancel
Save