Skip to content

Commit

Permalink
initialize the filesToCompare array
Browse files Browse the repository at this point in the history
Signed-off-by: Billie Simmons <[email protected]>
  • Loading branch information
JillieBeanSim committed Sep 29, 2023
1 parent 249e6ca commit 7d43dcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/zowe-explorer/src/shared/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 7d43dcc

Please sign in to comment.