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 (#28176)

Co-authored-by: cws <cws@home.fritz.box>
(cherry picked from commit 1abf65c)
  • Loading branch information
styxlab authored and vladar committed Nov 20, 2020
1 parent 3d607f1 commit e5d06fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-filesystem/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 e5d06fb

Please sign in to comment.