Skip to content

Commit 8dc5393

Browse files
committed
review changes
1 parent 5d05d23 commit 8dc5393

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/accessibility-automation/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
224224

225225
const isPattern = glob.hasMagic(supportFilesData.supportFile);
226226
if(!isPattern) {
227-
console.log(`Using user defined support file: ${supportFilesData.supportFile}`);
227+
logger.debug(`Using user defined support file: ${supportFilesData.supportFile}`);
228228
let file;
229229
try {
230230
file = process.cwd() + supportFilesData.supportFile;

bin/helpers/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ exports.getSupportFiles = (bsConfig, isA11y) => {
390390
supportFile = userSupportFile[0];
391391
}
392392
} catch (err) {}
393-
if (supportFile && !path.isAbsolute(supportFile)) supportFile = '/' + supportFile;
393+
if(supportFile && supportFile[0] != '/') supportFile = '/' + supportFile;;
394394
return {
395395
supportFile,
396396
cleanupParams: Object.keys(cleanupParams).length ? cleanupParams : null

0 commit comments

Comments
 (0)