Skip to content

Commit b418f6b

Browse files
committed
Lint, wrong in this case, but appease it
1 parent 07d8315 commit b418f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/converter/comments/textParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function checkAttributes(
347347
while (parser.state !== ParserState.END) {
348348
if (
349349
parser.state === ParserState.BeforeAttributeValue &&
350-
attributes.hasOwnProperty(parser.currentAttributeName)
350+
Object.prototype.hasOwnProperty.call(attributes, parser.currentAttributeName)
351351
) {
352352
parser.step();
353353

0 commit comments

Comments
 (0)