Skip to content

Commit f0e6ab1

Browse files
Fix failing tests
1 parent 6644e9e commit f0e6ab1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/markup.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ function highlight (description) {
5555
let element = $(el)
5656
let klass = element.attr('class')
5757
let lang = ''
58-
let fileName = null
5958
let tableHeader = ''
6059
if (klass) {
6160
let type = klass.split('-').pop()
@@ -114,6 +113,6 @@ function removeHLJSPrefix (string) {
114113
return string.replace(/hljs-/g, '')
115114
}
116115

117-
function isFile(string) {
116+
function isFile (string) {
118117
return /\./.test(string)
119118
}

0 commit comments

Comments
 (0)