Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow drive letter on windows launchEditor calls #1197

Merged
merged 1 commit into from Jun 19, 2020

Conversation

acoates-ms
Copy link
Contributor

Summary:

When running on windows, the launchEditor functionality doesn't work with react-native-windows since all the paths being used are absolute paths, which include a drive letter. The drive letter doesn't match the WINDOWS_FILE_NAME_WHITELIST regex.

This slightly modifies the WINDOWS_FILE_NAME_WHITELIST to allow drive letter prefixes.

@grabbou grabbou merged commit 6a15c7a into react-native-community:master Jun 19, 2020
@grabbou
Copy link
Member

grabbou commented Jun 19, 2020

Thanks!

@acoates-ms acoates-ms deleted the allowdriveletter branch July 7, 2020 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants