Skip to content

Commit b56a140

Browse files
.
1 parent 5cbb516 commit b56a140

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/patchers/metadata-cache-patcher.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ export default class MetadataCachePatcher extends Patcher {
7777
const fileNodesEmbeds = content.nodes
7878
.filter((node: CanvasFileNodeData) => node.type === 'file' && node.file)
7979
.map((node: CanvasFileNodeData) => [node.id, node.file] as [string, string])
80-
.map(([nodeId, file]) => ({
81-
link: file,
82-
original: file,
83-
displayText: file,
80+
.map(([nodeId, linkedFile]) => ({
81+
link: linkedFile,
82+
original: linkedFile,
83+
displayText: linkedFile,
8484
position: {
8585
nodeId: nodeId,
8686
start: { line: 0, col: 0, offset: 0 },

0 commit comments

Comments
 (0)