Skip to content

Commit 7d38dcb

Browse files
committed
refactor: . Rename 'filename' parameter to better convey its meaning
1 parent 1a8e3d7 commit 7d38dcb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Task/Link.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ export class Link {
66

77
/**
88
* @param {LinkCache} rawLink - The raw link from Obsidian cache.
9-
* @param {string} filename - The name of the file where this link is located.
9+
* @param {string} filenameContainingLink - The name of the file where this link is located.
1010
*/
11-
constructor(rawLink: LinkCache, filename: string) {
11+
constructor(rawLink: LinkCache, filenameContainingLink: string) {
1212
this.rawLink = rawLink;
13-
this.filenameContainingLink = filename;
13+
this.filenameContainingLink = filenameContainingLink;
1414
}
1515

1616
public get originalMarkdown() {

0 commit comments

Comments
 (0)