mirror of
https://github.com/Infisical/infisical.git
synced 2025-08-03 20:23:35 +00:00
Remove async from isSamePath check in integration sync
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user