We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4390f31 commit 7679c50Copy full SHA for 7679c50
lib/index.js
@@ -60,7 +60,7 @@ function walk(options, node) {
60
}
61
62
// Now we recurse through the nested content if content exists
63
- if (node.content) {
+ if (Array.isArray(node.content)) {
64
return Promise.all(node.content.map(childNode => walk(options, childNode)))
65
.then(updatedContent => {
66
// Update the node content after promises are resolved
0 commit comments