Updated checking filepaths to use indexOf instead of RegExp, as it caused issues on Windows
Updated checking filepaths to use indexOf instead of RegExp, as it caused issues on Windows

Degree53/eslint-staged