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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use correct path argument #8628

Merged
merged 1 commit into from
Sep 28, 2018

Conversation

DSchau
Copy link
Contributor

@DSchau DSchau commented Sep 28, 2018

This fixes an issue that manifested itself in CI.

(node:10110) UnhandledPromiseRejectionWarning: TypeError: Path must be a string. Received { resolve: [Function: resolve],
  normalize: [Function: normalize],

path (previously) referred to what is now filePath, but this wasn't refactored correctly. This is why you don't rename variables 馃檭 (my fault!)

@DSchau DSchau requested a review from a team as a code owner September 28, 2018 20:33
Copy link
Contributor

@valin4tor valin4tor left a comment

Choose a reason for hiding this comment

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

LGTM!

@DSchau DSchau merged commit acb5293 into gatsbyjs:master Sep 28, 2018
@DSchau DSchau deleted the gatsby-dev-cli/path-fix branch September 28, 2018 20:38
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.

None yet

2 participants