fixed lint errors

This commit is contained in:
Cláudio Patrício
2023-05-08 11:16:55 +01:00
parent 5aca6b1082
commit 2458b90417

View File

@@ -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
}