temp fix when no remotes
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user