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: null is invalid for sources and file #242

Merged
merged 1 commit into from
Feb 18, 2023

Conversation

bmeurer
Copy link
Contributor

@bmeurer bmeurer commented Feb 17, 2023

This fixes generateDecodedMap() to avoid putting null into the sources array (which is supposed to contain only strings), and also don't assign null to the file field (which can be either a string or absent - indicated by undefined).

This fixes `generateDecodedMap()` to avoid putting `null` into the
`sources` array (which is supposed to contain only strings), and
also don't assign `null` to the `file` field (which can be either
a string or absent - indicated by `undefined`).
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.

3 participants