From ed8bb06c2783c3a87f66dd0552c4755b073f1c39 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 26 Mar 2025 13:49:35 +0700 Subject: [PATCH] chore: fix fs api --- core/src/browser/fs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/browser/fs.ts b/core/src/browser/fs.ts index 6bdd193b8..18f937037 100644 --- a/core/src/browser/fs.ts +++ b/core/src/browser/fs.ts @@ -41,7 +41,7 @@ const mkdir = (...args: any[]) => globalThis.core.api?.mkdir({ args }) * Removes a directory at the specified path. * @returns {Promise} A Promise that resolves when the directory is removed successfully. */ -const rm = (...args: any[]) => globalThis.core.api?.rm(...args, { recursive: true, force: true }) +const rm = (...args: any[]) => globalThis.core.api?.rm({ args }) /** * Deletes a file from the local file system.