Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
events: remove unneeded safety check code
In the process of creating nodejs#9865, it was discovered that the code checking whether or not events was defined was unnecessary because the only situation in which events would be undefined is if it is monkeypatched by an external entity. This should be removed in order to discourage this. If the test added in nodejs#9865 is merged, it will need to removed on merge of this commit.
- Loading branch information