From 2458b90417da26345df2eafb58d8c21fc2dd3f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A1udio=20Patr=C3=ADcio?= Date: Mon, 8 May 2023 11:16:55 +0100 Subject: [PATCH] fixed lint errors --- src/utils/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/index.js b/src/utils/index.js index b33274957..01e29f977 100644 --- a/src/utils/index.js +++ b/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 }