File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export default class AxeBuilder {
26
26
private includes : SerialSelectorList ;
27
27
private excludes : SerialSelectorList ;
28
28
private option : RunOptions ;
29
- private source : string ;
29
+ private axeSource : string | undefined ;
30
30
private legacyMode = false ;
31
31
private errorUrl : string ;
32
32
@@ -35,7 +35,7 @@ export default class AxeBuilder {
35
35
this . includes = [ ] ;
36
36
this . excludes = [ ] ;
37
37
this . option = { } ;
38
- this . source = axeSource || source ;
38
+ this . axeSource = axeSource ;
39
39
this . errorUrl =
40
40
'https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md' ;
41
41
}
@@ -210,7 +210,7 @@ export default class AxeBuilder {
210
210
*/
211
211
212
212
private script ( ) : string {
213
- return this . source ;
213
+ return this . axeSource || source ;
214
214
}
215
215
216
216
private async runLegacy ( context : SerialContextObject ) : Promise < AxeResults > {
You can’t perform that action at this time.
0 commit comments