Skip to content

Commit a203ff0

Browse files
committed
Ensure getElementError can be called without bound config
1 parent 79d5c04 commit a203ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ let config: InternalConfig = {
3838
const error = new Error(
3939
[
4040
message,
41-
`Ignored nodes: comments, ${this.defaultIgnore}\n${prettifiedDOM}`,
41+
`Ignored nodes: comments, ${config.defaultIgnore}\n${prettifiedDOM}`,
4242
]
4343
.filter(Boolean)
4444
.join('\n\n'),

0 commit comments

Comments
 (0)