Skip to content

Commit a01862b

Browse files
committed
Correct jsdoc
1 parent 00397ab commit a01862b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jgclark.Dashboard/src/dataGenerationTags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export async function getTaggedSectionData(config: TDashboardSettings, useDemoDa
150150
}
151151
}
152152
// Add the paras that contain the tag/mention, unless this is a noteTag, in which case add all paras if FM field 'note-tag' matches. (Later we filter down to open non-scheduled items).
153-
// Note: a simple substring match can't be used, as it gets false positives (e.g. #test for #testing). So now using the new hashtagAwareIncludes and mentionAwareIncludes functions.
153+
// Note: a simple substring match can't be used, as it gets false positives (e.g. #test for #testing). So now using the new fullHashtagOrMentionMatch functions.
154154
const tagParasFromNote = hasMatchingNoteTag ? paras : paras.filter((p) => fullHashtagOrMentionMatch(thisTag, p.content))
155155
logDebug('getTaggedSectionData', `- for ${thisTag} => fullHashtagOrMentionMatch = ${String(paras.map((p) => fullHashtagOrMentionMatch(thisTag, p.content)))}`)
156156
logTimer('getTaggedSectionData', thisStartTime, `- found ${tagParasFromNote.length} ${thisTag} items in "${n.filename}"`)

0 commit comments

Comments
 (0)