Skip to content

Commit 187f483

Browse files
committed
fixup! add comment
1 parent 2d9e9cc commit 187f483

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-fs-glob.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,8 @@ describe('fsPromises glob', function() {
339339
});
340340

341341
const normalizeDirent = (dirent) => relative(fixtureDir, join(dirent.parentPath, dirent.name));
342+
// The call to `join()` with only one argument is important, as
343+
// it ensures that the proper path seperators are applied.
342344
const normalizePath = (path) => (isAbsolute(path) ? relative(fixtureDir, path) : join(path));
343345

344346
describe('glob - withFileTypes', function() {

0 commit comments

Comments
 (0)