From af7a9437184f1acc56abaa089b2b1829d5ed5e47 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 6 Dec 2020 23:32:54 -0500 Subject: [PATCH] Renames GitRemote.types to urls --- src/git/models/remote.ts | 2 +- src/git/parsers/remoteParser.ts | 2 +- src/quickpicks/gitQuickPickItems.ts | 2 +- src/views/nodes/branchNode.ts | 2 +- src/views/nodes/remoteNode.ts | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/git/models/remote.ts b/src/git/models/remote.ts index 3c27a03..95819ab 100644 --- a/src/git/models/remote.ts +++ b/src/git/models/remote.ts @@ -55,7 +55,7 @@ export class GitRemote { let arrows; let left; let right; - for (const { type } of this.remote.types) { + for (const { type } of this.remote.urls) { if (type === GitRemoteType.Fetch) { left = true; @@ -147,8 +147,8 @@ export class RemoteNode extends ViewNode { item.id = this.id; - for (const type of this.remote.types) { - item.tooltip += `\n${type.url} (${type.type})`; + for (const { type, url } of this.remote.urls) { + item.tooltip += `\n${url} (${type})`; } return item;