Skip to content

Commit

Permalink
chore: remove unused parameter handlers (#10640)
Browse files Browse the repository at this point in the history
<!--
  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 :)
-->
If I'm not wrong, the parameter `handlers` seems to be useless here since it hasn't been called in the whole project.
## Description

<!-- Write a brief description of the changes introduced by this PR -->
Remove useless parameter `handlers`
## Related Issues

<!--
  Link to the issue that is fixed by this PR (if there is one)
  e.g. Fixes #1234, Addresses #1234, Related to #1234, etc.
-->
  • Loading branch information
ZYSzys authored and pieh committed Dec 27, 2018
1 parent 4be99f9 commit 494d23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-cli/src/create-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ function isLocalGatsbySite() {
return inGatsbySite
}

module.exports = (argv, handlers) => {
module.exports = argv => {
let cli = yargs()
let isLocalSite = isLocalGatsbySite()

Expand Down

0 comments on commit 494d23e

Please sign in to comment.