From 4fc04f8e719f3d6b5609651088b317eaddcac95e Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 15 Aug 2019 19:28:31 -0400 Subject: [PATCH] Fixes git commands cancel button --- src/quickpicks/gitQuickPicks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quickpicks/gitQuickPicks.ts b/src/quickpicks/gitQuickPicks.ts index 067fa7a..c55ff35 100644 --- a/src/quickpicks/gitQuickPicks.ts +++ b/src/quickpicks/gitQuickPicks.ts @@ -45,7 +45,7 @@ export namespace DirectiveQuickPickItem { } export function is(item: QuickPickItem): item is DirectiveQuickPickItem { - return item != null && 'cancelled' in item; + return item != null && 'directive' in item; } }