fixed lint errors
This commit is contained in:
@@ -2,9 +2,9 @@ function convertPathToHtml(path) {
|
||||
let htmlpath = ''
|
||||
while (path.startsWith('../')) {
|
||||
path = path.slice(3)
|
||||
htmlpath.length < 2 ? htmlpath += '.' : htmlpath += '/..'
|
||||
htmlpath += htmlpath.length < 2 ? '.' : '/..'
|
||||
}
|
||||
|
||||
|
||||
return htmlpath
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user