diff --git a/parser/meta.js b/parser/meta.js index 2fae9cd..8bbfc74 100644 --- a/parser/meta.js +++ b/parser/meta.js @@ -25,7 +25,7 @@ function meta() { if (is(node, 'head')) { visit(node, (child) => { if (is(child, 'meta')) { - const { name, property, content } = child.properties + const { name, property, content = '' } = child.properties if (name === 'description') { file.data.description = content } else if (name === 'keywords') {