Skip to content

Commit 9e0682d

Browse files
authored
added binary check (#4245)
Signed-off-by: Pujal <pujal.gandhi@broadcom.com>
1 parent aefb025 commit 9e0682d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/zowex-for-zowe-explorer/src/api/SshUssApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class SshUssApi extends SshCommonApi implements MainframeInteraction.IUss
8585
await this.client
8686
).uss.writeFile({
8787
fspath: ussFilePath,
88-
encoding: options?.encoding,
88+
encoding: options?.binary ? "binary" : options?.encoding,
8989
stream: () => createReadStream(inputFilePath),
9090
etag: options?.etag,
9191
});

0 commit comments

Comments
 (0)