Skip to content

Commit

Permalink
fix(gatsby-source-filesystem): fix race condition when using `publicU…
Browse files Browse the repository at this point in the history
…RL` field (gatsbyjs#28176)

Co-authored-by: cws <cws@home.fritz.box>
  • Loading branch information
styxlab and cws committed Nov 20, 2020
1 parent 22df2fe commit 16ee55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extend-file-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ module.exports = ({
)

if (!fs.existsSync(publicPath)) {
fs.copy(
fs.copySync(
details.absolutePath,
publicPath,
{ dereference: true },
Expand Down

0 comments on commit 16ee55a

Please sign in to comment.