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

fix(query-runner): replace .off with .removeListener #10613

Merged
merged 1 commit into from
Dec 21, 2018
Merged

fix(query-runner): replace .off with .removeListener #10613

merged 1 commit into from
Dec 21, 2018

Conversation

wKovacs64
Copy link
Contributor

Description

This fixes a bug introduced in #10593 by replacing the .off call with .removeListener. .off was introduced in Node v10.0.0 as an alias for .removeListener (nodejs/node#17156).

Related Issues

Related to #10612

@wKovacs64 wKovacs64 requested a review from a team as a code owner December 21, 2018 16:31
Copy link
Contributor

@DSchau DSchau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MVP :) Thank you! I'll get this released.

@DSchau
Copy link
Contributor

DSchau commented Dec 21, 2018

Going to wait for Appveyor to build--that should be proof that it's working!

@DSchau DSchau merged commit ed5e5d5 into gatsbyjs:master Dec 21, 2018
@wKovacs64 wKovacs64 deleted the fix/query-runner branch December 21, 2018 17:17
@DSchau
Copy link
Contributor

DSchau commented Dec 21, 2018

Successfully published:
 - [email protected]

gpetrioli pushed a commit to gpetrioli/gatsby that referenced this pull request Jan 22, 2019
<!--
  Have any questions? Check out the contributing docs at https://gatsby.app/contribute, or
  ask in this Pull Request and a Gatsby maintainer will be happy to help :)
-->

## Description

<!-- Write a brief description of the changes introduced by this PR -->
This fixes a bug introduced in gatsbyjs#10593 by replacing the `.off` call with `.removeListener`. `.off` was introduced in Node v10.0.0 as an alias for `.removeListener` (nodejs/node#17156).

## Related Issues

<!--
  Link to the issue that is fixed by this PR (if there is one)
  e.g. Fixes gatsbyjs#1234, Addresses gatsbyjs#1234, Related to gatsbyjs#1234, etc.
-->
Related to gatsbyjs#10612
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

Successfully merging this pull request may close these issues.

2 participants