We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f740346 commit d14f0a1Copy full SHA for d14f0a1
bin/accessibility-automation/helper.js
@@ -244,9 +244,10 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
244
}
245
246
// Build the correct glob pattern
247
+ const cwd_path = process.cwd();
248
const globPattern = supportFilesData.supportFile.startsWith('/')
- ? process.cwd() + supportFilesData.supportFile
249
- : path.resolve(process.cwd(),supportFilesData.supportFile);
+ ? cwd_path + supportFilesData.supportFile
250
+ : path.resolve(cwd_path,supportFilesData.supportFile);
251
252
glob(globPattern, {}, (err, files) => {
253
if(err) {
0 commit comments