Skip to content

Commit

Permalink
Switch to exposing absolutePath
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky authored Sep 6, 2022
1 parent 7e9b55c commit 95a8fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-remark-copy-linked-files/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const getDestination = (linkNode, dir) => {
? `${dir({
name: linkNode.name,
hash: linkNode.internal.contentDigest,
relativeDirectory: linkNode.relativeDirectory,
absolutePath: linkNode.absolutePath,
})}.${linkNode.extension}`
: `${dir()}/${defaultDestination(linkNode)}`
} else if (_.isString(dir)) {
Expand Down

0 comments on commit 95a8fcf

Please sign in to comment.