Skip to content

Commit

Permalink
[v2] prettier (gatsbyjs#5105)
Browse files Browse the repository at this point in the history
* Only include prettier in the root package.json

* Run prettier
  • Loading branch information
m-allanson authored and KyleAMathews committed Apr 24, 2018
1 parent 979c386 commit 6df20a3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { createFileNode } = require(`./create-file-node`)
* "idle" state.
*/
const fsMachine = Machine({
key: "emitFSEvents",
key: `emitFSEvents`,
parallel: true,
strict: true,
states: {
Expand All @@ -25,19 +25,19 @@ const fsMachine = Machine({
states: {
CHOKIDAR_NOT_READY: {
on: {
CHOKIDAR_READY: "CHOKIDAR_WATCHING",
BOOTSTRAP_FINISHED: "CHOKIDAR_WATCHING_BOOTSTRAP_FINISHED",
CHOKIDAR_READY: `CHOKIDAR_WATCHING`,
BOOTSTRAP_FINISHED: `CHOKIDAR_WATCHING_BOOTSTRAP_FINISHED`,
},
},
CHOKIDAR_WATCHING: {
on: {
BOOTSTRAP_FINISHED: "CHOKIDAR_WATCHING_BOOTSTRAP_FINISHED",
CHOKIDAR_READY: "CHOKIDAR_WATCHING",
BOOTSTRAP_FINISHED: `CHOKIDAR_WATCHING_BOOTSTRAP_FINISHED`,
CHOKIDAR_READY: `CHOKIDAR_WATCHING`,
},
},
CHOKIDAR_WATCHING_BOOTSTRAP_FINISHED: {
on: {
CHOKIDAR_READY: "CHOKIDAR_WATCHING_BOOTSTRAP_FINISHED",
CHOKIDAR_READY: `CHOKIDAR_WATCHING_BOOTSTRAP_FINISHED`,
},
},
},
Expand All @@ -47,7 +47,7 @@ const fsMachine = Machine({
states: {
BOOTSTRAPPING: {
on: {
BOOTSTRAP_FINISHED: "IDLE",
BOOTSTRAP_FINISHED: `IDLE`,
},
},
IDLE: {
Expand Down

0 comments on commit 6df20a3

Please sign in to comment.