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(graphql): findLinkedNodeByField not returning any value #11045

Merged
merged 1 commit into from
Jan 15, 2019
Merged

fix(graphql): findLinkedNodeByField not returning any value #11045

merged 1 commit into from
Jan 15, 2019

Conversation

DanielRuf
Copy link
Contributor

Description

findLinkedNodeByField does not return anything. This PR adds the missing return.

Related Issues

@DanielRuf DanielRuf requested a review from a team as a code owner January 13, 2019 13:51
@wardpeet wardpeet changed the title Add missing return statement in findLinkedNodeByField fix(graphql): findLinkedNodeByField not returning any value Jan 15, 2019
Copy link
Contributor

@wardpeet wardpeet left a comment

Choose a reason for hiding this comment

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

LGTM! thanks for adding!

@wardpeet wardpeet merged commit cef713a into gatsbyjs:master Jan 15, 2019
gpetrioli pushed a commit to gpetrioli/gatsby that referenced this pull request Jan 22, 2019
…#11045)

<!--
  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
`findLinkedNodeByField` does not return anything. This PR adds the missing `return`.
<!-- Write a brief description of the changes introduced by this PR -->

## 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.
-->
@DanielRuf DanielRuf deleted the fix/add-missing-return-statement branch March 17, 2019 19:21
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