Skip to content

Commit

Permalink
(fix) follow glob recommendation for Windows paths (#3969)
Browse files Browse the repository at this point in the history
  • Loading branch information
nixxquality committed Jan 19, 2024
1 parent 200c09c commit 14a5dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/markup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function testLanguage(language, {testDir}) {
path.join(testDir, '*.expect.txt') :
utility.buildPath('markup', language, '*.expect.txt');
const filePath = where;
const filenames = glob.sync(filePath);
const filenames = glob.sync(filePath, {windowsPathsNoEscape: true});

filenames.forEach(function(filename) {
const testName = path.basename(filename, '.expect.txt');
Expand Down

0 comments on commit 14a5dcf

Please sign in to comment.