Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PR] Fix haste_name_reducers on Windows
Summary: Adds Windows support for the `module.system.haste.name_reducers` option in .flowconfig, used by projects including React Native. The file paths weren't being normalized for Windows in `is_haste_file` and `haste_name` (converting `\` to `/`), so the regex was always failing. Fixes #7138 Pull Request resolved: #7419 Reviewed By: mroch Differential Revision: D13900899 Pulled By: avikchaudhuri fbshipit-source-id: b159344ad27a27e520a1352f4f66078f2247d6aa
- Loading branch information
1 parent
cc6fdd6
commit c75580d
Showing
1 changed file
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters