diff --git a/backend/src/lib/fn/string.ts b/backend/src/lib/fn/string.ts index 2d7466c35..c3651fd4e 100644 --- a/backend/src/lib/fn/string.ts +++ b/backend/src/lib/fn/string.ts @@ -2,7 +2,7 @@ import path from "path"; // given two paths irrespective of ending with / or not // this will return true if its equal -export const isSamePath = async (from: string, to: string) => !path.relative(from, to); +export const isSamePath = (from: string, to: string) => !path.relative(from, to); export const removeTrailingSlash = (str: string) => { if (str === "/") return str;