Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 2ff7a07

Browse files
mstruttjuliemr
authored andcommitted
fix(Chrome Accessibility Plugin): resolving the location of AUDIT_FILE
1 parent eab828e commit 2ff7a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plugins/accessibility/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var q = require('q'),
4242
*
4343
*/
4444

45-
var AUDIT_FILE = path.join(__dirname, '../../node_modules/accessibility-developer-tools/dist/js/axs_testing.js');
45+
var AUDIT_FILE = require.resolve('accessibility-developer-tools/dist/js/axs_testing.js');
4646
var TENON_URL = 'http://www.tenon.io/api/';
4747

4848
/**

0 commit comments

Comments
 (0)