ci: fix code style linting errors

This commit is contained in:
philippkuehn 2021-09-30 19:35:31 +00:00 committed by GitHub Actions
parent f79347e128
commit cf1e8ef184

View File

@ -51,7 +51,7 @@ function getDecorations({ doc, name, lowlight }: { doc: ProsemirrorNode, name: s
from = to
})
})
function getHighlightNodes(result) {
// `.value` for lowlight v1, `.children` for lowlight v2
return result.value || result.children || []