summaryrefslogtreecommitdiff
path: root/src/utils/strings.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/strings.ts')
-rw-r--r--src/utils/strings.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils/strings.ts b/src/utils/strings.ts
index 4aaa916..4786c6b 100644
--- a/src/utils/strings.ts
+++ b/src/utils/strings.ts
@@ -1,5 +1,3 @@
-export const ellipsize = (str: string, len: number) => (str.length > len ? `${str.slice(0, len - 1)}…` : str);
-
export const basename = (path: string, stripExt = true) => {
const lastSlash = path.lastIndexOf("/");
const lastDot = path.lastIndexOf(".");