Skip to content

Commit b3ab4b9

Browse files
committed
Fix lint error
1 parent e39ff72 commit b3ab4b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/include-code-extension.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function createExtensionGroup (context) {
3030
if (!langs.length) return log(doc, 'warn', `no search locations defined for include-code::${target}[]`)
3131
const cursor = doc.getReader().$cursor_at_mark()
3232
tabsEnabled ??= doc.getExtensions().hasBlocks() && !!doc.getExtensions().getBlockFor('tabs', 'example')
33-
const attrsStr = Object.entries(attrs).filter(([n, v]) => n != 'title').reduce((buf, [n, v]) => `${buf}${buf ? ',' : ''}${n}=${v}`, '')
33+
const attrsStr = Object.entries(attrs).filter(([n, v]) => n !== 'title').reduce((buf, [n, v]) => `${buf}${buf ? ',' : ''}${n}=${v}`, '')
3434
const sectionId = (nearest(parent, 'section') || doc).getId()
3535
const relativeIdPath = sectionId
3636
? sectionId.replaceAll('-', '').replaceAll('.', '/') + '/' + sanitizedTarget

0 commit comments

Comments
 (0)