From 7d43dccc693f37b38e9fe12bd0f59904122e486c Mon Sep 17 00:00:00 2001 From: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Date: Fri, 29 Sep 2023 16:22:35 -0400 Subject: [PATCH] initialize the filesToCompare array Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --- packages/zowe-explorer/src/shared/init.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/zowe-explorer/src/shared/init.ts b/packages/zowe-explorer/src/shared/init.ts index 12ba91952b..4a71f2b40d 100644 --- a/packages/zowe-explorer/src/shared/init.ts +++ b/packages/zowe-explorer/src/shared/init.ts @@ -225,6 +225,8 @@ export function registerCommonCommands(context: vscode.ExtensionContext, provide return globals.FILE_SELECTED_TO_COMPARE; }) ); + // initialize the globals.filesToCompare array during initialization + globals.resetCompareChoices(); } }