Skip to content

Commit

Permalink
Add server-path option to new command group
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Jan 30, 2025
1 parent dc43193 commit 40f6445
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
"@zowe/secrets-for-zowe-sdk": "^8.10.4",
"tsx": "^4.19.2"
}
}
}
3 changes: 2 additions & 1 deletion packages/cli/src/restore/Restore.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import type { ICommandDefinition } from "@zowe/imperative";
import { SshSession } from "@zowe/zos-uss-for-zowe-sdk";
import { Constants } from "../Constants";
import { DataSetDefinition } from "./data-set/DataSet.definition";

const RestoreDefinition: ICommandDefinition = {
Expand All @@ -23,7 +24,7 @@ const RestoreDefinition: ICommandDefinition = {
passOn: [
{
property: "options",
value: SshSession.SSH_CONNECTION_OPTIONS,
value: [...SshSession.SSH_CONNECTION_OPTIONS, Constants.OPT_SERVER_PATH],
merge: true,
ignoreNodes: [{ type: "group" }],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/server/install/Install.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

import { ConfigUtils, ICommandHandler, IHandlerParameters } from "@zowe/imperative";
import { ConfigUtils, type ICommandHandler, type IHandlerParameters } from "@zowe/imperative";
import { ZSshClient, ZSshUtils } from "zowe-native-proto-sdk";
import { Constants } from "../../Constants";

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/server/uninstall/Uninstall.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

import { ConfigUtils, ICommandHandler, IHandlerParameters } from "@zowe/imperative";
import { ConfigUtils, type ICommandHandler, type IHandlerParameters } from "@zowe/imperative";
import { ZSshClient, ZSshUtils } from "zowe-native-proto-sdk";
import { Constants } from "../../Constants";

Expand Down

0 comments on commit 40f6445

Please sign in to comment.