Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rosetta): crashes on outdated tablet files in a package (#3119)
A package may accidentally (or on purpose) contain a `.jsii.tabl.json` file, containing pretranslated examples. When an assembly is added for snippet discovery, this tablet will be loaded implicitly to save live conversion time. However, if the tablet file is old, or not even a tablet file, this will stop rosetta with an error. Catch that error and continue anyway. Fixes an issue in Construct Hub. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
- Loading branch information