Skip to content

Commit

Permalink
Add fix for Windows Subsystem for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
manuth committed May 29, 2020
1 parent 3f46ccf commit 4619037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const path = require('path')
const hashObject = require('./hash').hashObject
, ModuleCache = require('./ModuleCache').default

const CASE_SENSITIVE_FS = !fs.existsSync(path.join(__dirname, 'reSOLVE.js'))
const CASE_SENSITIVE_FS = !fs.existsSync(path.join(__dirname.toUpperCase(), 'reSOLVE.js'))
exports.CASE_SENSITIVE_FS = CASE_SENSITIVE_FS

const ERROR_NAME = 'EslintPluginImportResolveError'
Expand Down

0 comments on commit 4619037

Please sign in to comment.