Skip to content

Commit

Permalink
Chore: fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
olliescase committed Sep 3, 2024
1 parent f9b5200 commit 104b592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/utils/formatter.ts
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 104b592

Please sign in to comment.