fix: lint update (#29336)

This commit is contained in:
二货机器人 2021-02-16 20:40:01 +08:00 committed by GitHub
parent 25b1a3abbc
commit 75cd2a9649
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ function ariaConvert(wrapper: CheerIO) {
const matches = new Map();
function process(entry: CheerIOElement) {
if (entry.type === 'text') {
if (entry.type === 'text' || entry.type === 'comment') {
return;
}
const { attribs, children } = entry;