| 670287b3 | 22-Apr-2023 |
Cedric van Putten <[email protected]> |
fix(cli): check if template URL is a path on windows (#22232)
# Why
Turns out that you can actually create a `URL` instance from absolute
path on Windows... This is interesting on it's own, but
fix(cli): check if template URL is a path on windows (#22232)
# Why
Turns out that you can actually create a `URL` instance from absolute
path on Windows... This is interesting on it's own, but also causes
issues with the `--template` flag.

# How
- Added check to filter out this scenario, windows only
# Test Plan
TBD
# Checklist
<!--
Please check the appropriate items below if they apply to your diff.
This is required for changes to Expo modules.
-->
- [ ] Documentation is up to date to reflect these changes (eg:
https://docs.expo.dev and README.md).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
- [ ] This diff will work correctly for `expo prebuild` & EAS Build (eg:
updated a module plugin).
show more ...
|