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

request listener registration error #1

Open
emarteca opened this issue Jan 17, 2020 · 0 comments
Open

request listener registration error #1

emarteca opened this issue Jan 17, 2020 · 0 comments

Comments

@emarteca
Copy link

Hi all, I've been working on a tool to identify instances of events registered to the wrong object in uses of some JavaScript event-driven APIs, as part of a research project.
The tool flagged line 37 in index.js in the root directory of the repo, on the registration of the listener for request.

The reason I believe this is an error is as follows (from looking at the nodejs process API documentation):
the listener for request is registered on the process global object.
This object is implicitly imported, as described in the process documentation.

request is not an event on process.Process.

Thanks!

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

No branches or pull requests

1 participant