Pārlūkot izejas kodu

fixed lint errors

Cláudio Patrício 1 gadu atpakaļ
vecāks
revīzija
2458b90417
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/utils/index.js

+ 2 - 2
src/utils/index.js

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