Skip to content

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

Closed
targos wants to merge 2 commits into
nodejs:masterfrom
targos:primordials-message
Closed

tools: print a better message for unexpected use of globals#27083
targos wants to merge 2 commits into
nodejs:masterfrom
targos:primordials-message

Conversation

@targos

Copy link
Copy Markdown
Member

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
Copy Markdown
Collaborator

@targostargos mentioned this pull request Apr 4, 2019
3 tasks
@ZYSzysZYSzys 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
Copy Markdown
MemberAuthor

Landed in dd89a11

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@targos@nodejs-github-bot@lpinca@cjihrig@richardlau@BridgeAR@ZYSzys