Skip to content

Commit 89d19a9

Browse files
committed
fix
1 parent 785cf0f commit 89d19a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/accessibility-automation/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
227227
if(!isPattern) {
228228
console.log(`Inside isPattern`);
229229
try {
230-
file = supportFilesData.supportFile;
230+
file = process.cwd() + supportFilesData.supportFile;
231231
const defaultFileContent = fs.readFileSync(file, {encoding: 'utf-8'});
232232
let cypressCommandEventListener = getAccessibilityCypressCommandEventListener(path.extname(file));
233233
const alreadyIncludes = defaultFileContent.includes(cypressCommandEventListener);

0 commit comments

Comments
 (0)