From 8cbf5661093591af82bff490a035f1f41c45a727 Mon Sep 17 00:00:00 2001 From: ayang <473033518@qq.com> Date: Tue, 26 Nov 2024 16:24:29 +0800 Subject: [PATCH] chore: formatting code with prettier --- plugins/fs/guest-js/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/fs/guest-js/index.ts b/plugins/fs/guest-js/index.ts index 71f71578..897bc780 100644 --- a/plugins/fs/guest-js/index.ts +++ b/plugins/fs/guest-js/index.ts @@ -1324,7 +1324,7 @@ async function watchImmediate( /** * Get the size of a file or directory. For files, the `stat` functions can be used as well. - * + * * If `path` is a directory, this function will recursively iterate over every file and every directory inside of `path` and therefore will be very time consuming if used on larger directories. * @example * ```typescript @@ -1342,7 +1342,7 @@ async function size(path: string | URL): Promise { } return await invoke('plugin:fs|size', { - path: path instanceof URL ? path.toString() : path, + path: path instanceof URL ? path.toString() : path }) }