Fix eslint on windows · precommit/pre-commit@42000c4 · GitHub
Skip to content

Commit 42000c4

Browse files
author
Alex Hutton
committed
Fix eslint on windows
- The bare exe was the first filename attempted to match, this changes means it will be matched last, allowing other files to be matched if they exist. The result is that eslint now works on Windows.
1 parent 63f65a4 commit 42000c4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pre_commit/parse_shebang.py

Lines changed: 3 additions & 2 deletions

0 commit comments

Comments
 (0)