diff --git a/lib/rclone.ts b/lib/rclone.ts index 012d09e..f74159e 100644 --- a/lib/rclone.ts +++ b/lib/rclone.ts @@ -17,7 +17,7 @@ export async function listRemotes() { throw new Error('Failed to fetch remotes') } - return r.remotes + return r.remotes || [] } export async function getRemote(remote: string) {