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 7465c54 commit 0121e69Copy full SHA for 0121e69
bids-validator/utils/files/__tests__/readDir.spec.js
@@ -36,5 +36,10 @@ describe('readDir.js', () => {
36
'/directory',
37
)
38
})
39
+ it('does not mangle relative Windows paths with parent directories', () => {
40
+ expect(
41
+ readDir.harmonizeRelativePath('..\\..\\dataset\\directory'),
42
+ ).toEqual('/../dataset/directory')
43
+ })
44
45
0 commit comments