Useless code
This commit is contained in:
@@ -9,10 +9,6 @@ import { canIndexUnsupportedFiles, settings } from '../settings'
|
||||
import { type BinaryLike, createHash } from 'crypto'
|
||||
import { md5 } from 'pure-md5'
|
||||
|
||||
// export function highlighter(str: string): string {
|
||||
// return `<span class="${highlightClass}">${str}</span>`
|
||||
// }
|
||||
|
||||
export function pathWithoutFilename(path: string): string {
|
||||
const split = path.split('/')
|
||||
split.pop()
|
||||
|
||||
Reference in New Issue
Block a user