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

fix: add workspace.fs.stat error handling when files are missing #259

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

byCedric
Copy link
Member

Linked issue

It is being reported as unhandled promise exception, which should never happen. This PR makes the workspace.fs.stat a safe operation by wrapping it in try catch, and aborting where necessary.

image

@byCedric byCedric merged commit a5c6199 into main Mar 13, 2024
12 checks passed
@byCedric byCedric deleted the fix/project-loading branch March 13, 2024 12:09
expo-bot pushed a commit that referenced this pull request Mar 13, 2024
## [1.5.0](1.4.3...1.5.0) (2024-03-13)

### New features

* add more infers to determine device platform when debugging ([#260](#260)) ([d89a982](d89a982))

### Bug fixes

* add `workspace.fs.stat` error handling when files are missing ([#259](#259)) ([a5c6199](a5c6199))
* use optional chaining when validating relative paths in manifest asset completions ([#258](#258)) ([ee37364](ee37364))
@expo-bot
Copy link
Contributor

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants