Skip to content

Commit

Permalink
Zowe Suite v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zowe-robot authored Apr 13, 2022
2 parents bfbb68a + 12207d6 commit ef72005
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: '[Prep 2] Setup Node'
uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16

- name: '[Prep 3] Setup jFrog CLI'
uses: jfrog/setup-jfrog-cli@v2
Expand Down
10 changes: 9 additions & 1 deletion base/src/plugin-manager/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export abstract class Plugin implements ZLUX.Plugin {
return new Plugin_0(definition);
case 1:
return new Plugin_1(definition);
case 2:
return new Plugin_2(definition);
default:
throw new Error("ZWED5038E - Unrecognized plugin definition major version");
}
Expand Down Expand Up @@ -164,6 +166,13 @@ class Plugin_1 extends Plugin_0 {

}

class Plugin_2 extends Plugin_1 {
constructor(definition: any) {
super(definition);
}

}


/*
This program and the accompanying materials are
Expand All @@ -174,4 +183,3 @@ class Plugin_1 extends Plugin_0 {
Copyright Contributors to the Zowe Project.
*/

0 comments on commit ef72005

Please sign in to comment.