Skip to content

Conversation

@MoonstarCoding
Copy link

In the event of an incompatible parse due to style, such as import * as x statements or the existence of a node_modules folder, the library will throw a silent error in the utils. This is because the value of spec.imported is not strictly equivalent to the expected value, but is not an object in which contains the required keys that are being requested of it.

By adding the ? operator, it at least gives you a stack trace to follow to learn what failed to parse and begin investigating what went wrong.

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.

1 participant