Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 2983cc5

Browse files
author
steelbrain
committed
🎨 Use Path.normalize instead of FS.realPathSync
1 parent 58a063c commit 2983cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ let bundledEslintDirectory = null
6666

6767
export function getBundledEslintDirectory() {
6868
if (bundledEslintDirectory === null) {
69-
bundledEslintDirectory = Path.join(FS.realpathSync(Path.join(__dirname, '..')), 'node_modules', 'eslint')
69+
bundledEslintDirectory = Path.normalize(Path.join(__dirname, '..', 'node_modules', 'eslint'))
7070
}
7171
return bundledEslintDirectory
7272
}

0 commit comments

Comments
 (0)