Skip to content

Commit

Permalink
chore: update eslint to fix linting issues (gatsbyjs#29988)
Browse files Browse the repository at this point in the history
* chore: update eslint to fix linting issues

* cleanup

* remove /

* Update packages/gatsby/src/commands/serve.ts

Co-authored-by: Matt Kane <matt@gatsbyjs.com>

* update config

* update circle to keep babel-preset-gatsby-package so we can use it in
our babel config

* fix unit tests

* fix snapshot

* fix thigns

* update gatsby-node

Co-authored-by: Matt Kane <matt@gatsbyjs.com>
  • Loading branch information
wardpeet and ascorbic committed Mar 4, 2021
1 parent 3d52316 commit 5b8f405
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gatsby-node.js
Expand Up @@ -45,7 +45,7 @@ const createFSMachine = (
// After 'ready', we handle the 'add' event without putting it into a queue.
let pathQueue = []
const flushPathQueue = () => {
let queue = pathQueue.slice()
const queue = pathQueue.slice()
pathQueue = null
return Promise.all(
// eslint-disable-next-line consistent-return
Expand Down

0 comments on commit 5b8f405

Please sign in to comment.