From 104b5926e71c9308556a46ec42684e565a468408 Mon Sep 17 00:00:00 2001 From: Oliver Scase Date: Wed, 4 Sep 2024 00:23:26 +0200 Subject: [PATCH] Chore: fixed linting --- src/runtime/utils/formatter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/utils/formatter.ts b/src/runtime/utils/formatter.ts index af97bb7..6ac441d 100644 --- a/src/runtime/utils/formatter.ts +++ b/src/runtime/utils/formatter.ts @@ -1,6 +1,6 @@ export function trimTrailingSlash(path: string): string { if (path.length > 1 && path.slice(-1) === '/') { - return path.slice(0, -1); + return path.slice(0, -1) } - return path; + return path }