From a403c9f9811cdb1461063ea3602d379ed1024afa Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 4 Jun 2024 10:46:06 +0200 Subject: [PATCH] ifx bug --- libs/remix-ui/git/src/lib/gitactions.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/remix-ui/git/src/lib/gitactions.ts b/libs/remix-ui/git/src/lib/gitactions.ts index d28348af74..ddf6fad2c8 100644 --- a/libs/remix-ui/git/src/lib/gitactions.ts +++ b/libs/remix-ui/git/src/lib/gitactions.ts @@ -218,6 +218,9 @@ export const addall = async (files: fileStatusResult[]) => { export const add = async (filepath: addInput) => { try { + if(typeof filepath.filepath === "string") { + filepath.filepath = removeSlash(filepath.filepath) + } await plugin.call('dgitApi', 'add', filepath); sendToGitLog({ type: 'success',