Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Remove async from isSamePath check in integration sync
Tuan Dang74ac75b878bb
diff --git a/backend/src/lib/fn/string.ts b/backend/src/lib/fn/string.tsindex 2d7466c35c..c3651fd4e2 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;