fix(fs): use correct arg name for unwatch (#857)

* fix(fs): use correct arg name for unwatch

* fmt
This commit is contained in:
Amr Bashir
2023-12-28 12:18:44 +02:00
committed by GitHub
parent 85f8419682
commit 2e2fc8de69
3 changed files with 8 additions and 3 deletions
+2 -2
View File
@@ -1135,8 +1135,8 @@ type DebouncedEvent =
*/
type UnwatchFn = () => void;
async function unwatch(id: number): Promise<void> {
await invoke("plugin:fs|unwatch", { id });
async function unwatch(rid: number): Promise<void> {
await invoke("plugin:fs|unwatch", { rid });
}
/**
File diff suppressed because one or more lines are too long