Skip to content

Commit e2d1171

Browse files
vladarstyxlab
andauthored
fix(gatsby-source-filesystem): fix race condition when using publicURL field (#28176) (#28209)
Co-authored-by: cws <[email protected]> (cherry picked from commit 1abf65c) Co-authored-by: Joost Jansky <[email protected]>
1 parent 3d607f1 commit e2d1171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby-source-filesystem/src/extend-file-node.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = ({
3030
)
3131

3232
if (!fs.existsSync(publicPath)) {
33-
fs.copy(
33+
fs.copySync(
3434
details.absolutePath,
3535
publicPath,
3636
{ dereference: true },

0 commit comments

Comments
 (0)