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

tools: print a better message for unexpected use of globals #27083

Closed
wants to merge 2 commits into from

Conversation

targos
Copy link
Member

@targos targos commented Apr 4, 2019

The error looks like this now:

  23:11  error  Unexpected use of 'Reflect'. Use `const { Reflect } = primordials;` instead of the global  no-restricted-globals

@nodejs-github-bot
Copy link
Collaborator

@targos targos mentioned this pull request Apr 4, 2019
3 tasks
@ZYSzys ZYSzys added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. tools Issues and PRs related to the tools directory. labels Apr 4, 2019
@targos
Copy link
Member Author

targos commented Apr 6, 2019

Landed in dd89a11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants