Skip to content

Commit

Permalink
refactor: use joinPath helper when creating node manifest file name
Browse files Browse the repository at this point in the history
  • Loading branch information
veryspry committed Nov 4, 2021
1 parent 129fd5e commit bb4e2a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/gatsby/src/utils/node-manifest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { ErrorId } from "gatsby-cli/lib/structured-errors/error-map"
import { joinPath } from "gatsby-core-utils"
import { getNode } from "./../datastore"
import { IGatsbyPage, INodeManifest } from "./../redux/types"
import reporter from "gatsby-cli/lib/reporter"
Expand Down Expand Up @@ -239,7 +240,7 @@ export async function processNodeManifest(
const gatsbySiteDirectory = store.getState().program.directory

// write out the manifest file
let manifestFilePath = path.join(
let manifestFilePath = joinPath(
gatsbySiteDirectory,
`.cache`,
`node-manifests`,
Expand Down

0 comments on commit bb4e2a3

Please sign in to comment.