Explorar el Código

fixed lint errors

Cláudio Patrício hace 1 año
padre
commit
2458b90417
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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
 }