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 0d6b837 commit 9dc660aCopy full SHA for 9dc660a
bids-validator/utils/files/readDir.js
@@ -95,8 +95,8 @@ function harmonizeRelativePath(path) {
95
* 3. Harmonizes the 'relativePath' field
96
*/
97
function preprocessNode(dir, ig, options) {
98
- var str = dir.substr(dir.lastIndexOf(path.sep) + 1) + '$'
99
- var rootpath = dir.replace(new RegExp(str), '')
+ const str = dir.substr(dir.lastIndexOf(path.sep) + 1) + '$'
+ const rootpath = dir.replace(new RegExp(str), '')
100
return getFiles(dir, rootpath, ig, options)
101
}
102
0 commit comments