Skip to content

Commit f740346

Browse files
committed
fix: semgrep alert
1 parent 97479cb commit f740346

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
@@ -246,7 +246,7 @@ exports.setAccessibilityEventListeners = (bsConfig) => {
246246
// Build the correct glob pattern
247247
const globPattern = supportFilesData.supportFile.startsWith('/')
248248
? process.cwd() + supportFilesData.supportFile
249-
: path.join(process.cwd(), supportFilesData.supportFile);
249+
: path.resolve(process.cwd(),supportFilesData.supportFile);
250250

251251
glob(globPattern, {}, (err, files) => {
252252
if(err) {

0 commit comments

Comments
 (0)