Skip to content

Fix crash on non-dts-require #19980

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

Merged

Conversation

weswigham
Copy link
Member

@weswigham weswigham commented Nov 13, 2017

We were crashing when a JS file contained a require whose reference looked like it may be a commonjs require, but did not refer to the global require symbol. Likely introduced by cc2a2a7, so it hasn't been broken long. Found while trying to add a checkJs user test.

@weswigham weswigham requested review from mhegazy and a user November 13, 2017 21:44
@weswigham weswigham merged commit 7d93434 into microsoft:master Nov 14, 2017
@weswigham weswigham deleted the no-crash-on-parameter-named-require branch November 14, 2017 00:41
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants