Skip to content

Commit

Permalink
fix: support Pull from Mainframe for binary files
Browse files Browse the repository at this point in the history
Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok committed Dec 12, 2024
1 parent 935129e commit 2f0b46b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/zowe-explorer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen
- Fixed an issue where a migrated data set is unusable after it is recalled through Zowe Explorer. [#3294](https://github.com/zowe/zowe-explorer-vscode/issues/3294)
- Fixed an issue where a recalled PDS is expandable after it is migrated through Zowe Explorer. [#3294](https://github.com/zowe/zowe-explorer-vscode/issues/3294)
- Fixed an issue where data set nodes did not update if migrated or recalled outside of Zowe Explorer. [#3294](https://github.com/zowe/zowe-explorer-vscode/issues/3294)
- Fixed an issue where binary USS files were not fetched using the "Pull from Mainframe" context menu option. [#3355](https://github.com/zowe/zowe-explorer-vscode/issues/3355)

## `2.18.0`

Expand Down
2 changes: 1 addition & 1 deletion packages/zowe-explorer/src/uss/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function initUSSProvider(context: vscode.ExtensionContext): Promise
vscode.commands.registerCommand("zowe.uss.refreshUSS", async (node, nodeList) => {
const statusMsg = Gui.setStatusBarMessage(localize("uss.refreshUSS", "$(sync~spin) Pulling from Mainframe..."));
let selectedNodes = getSelectedNodeList(node, nodeList) as IZoweUSSTreeNode[];
selectedNodes = selectedNodes.filter((x) => contextuals.isDocument(x));
selectedNodes = selectedNodes.filter((x) => contextuals.isDocument(x) || contextuals.isBinary(x));
for (const item of selectedNodes) {
await item.refreshUSS();
}
Expand Down

0 comments on commit 2f0b46b

Please sign in to comment.