From 9860adc86aba0157bbe447a81cf127d775969626 Mon Sep 17 00:00:00 2001 From: FTCHD Date: Sun, 26 Jan 2025 13:21:35 +0200 Subject: [PATCH] temp fix when no remotes --- lib/rclone.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {