Skip to content

Commit 35ad388

Browse files
committed
lint fix
1 parent 101636f commit 35ad388

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/humanReadablePane.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const humanReadablePane = {
8787
const kb = context.session.store
8888

8989
const cts = kb.fetcher.getHeader(subject.doc(), 'content-type')
90-
let ct = cts ? cts[0].split(';', 1)[0].trim() : null // remove content-type parameters
90+
const ct = cts ? cts[0].split(';', 1)[0].trim() : null // remove content-type parameters
9191

9292
// Fallback: detect markdown by file extension if content-type is not text/markdown
9393
const isMarkdown = ct === 'text/markdown' || isMarkdownFile(subject.uri)

0 commit comments

Comments
 (0)