Merge pull request #1342 from Infisical/patch-integration-path-sync

Remove async from isSamePath check in integration sync
This commit is contained in:
BlackMagiq
2024-01-29 16:42:25 +07:00
committed by GitHub

View File

@@ -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;