Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Warning message if explorer api not found
Browse files Browse the repository at this point in the history
Signed-off-by: JeffinSiby <[email protected]>
  • Loading branch information
JeffinSiby committed Mar 3, 2022
1 parent d41435c commit b259ebf
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,26 @@ export async function activate(context: ExtensionContext) {
// const mProfileInfo = new ProfileInfo("zowe", {
// requireKeytar: () => getSecurityModules("keytar", isTheia())!,
// });
// //const mProfileInfo = new ProfileInfo("zowe");
//const mProfileInfo = new ProfileInfo("zowe");
// mProfileInfo.readProfilesFromDisk(); // You must call ProfileInfo.readProfilesFromDisk() before calling usingTeamConfig function.
// ProfilesCache.createConfigInstance(mProfileInfo);
// const configInstance = ProfilesCache.getConfigInstance();
// const hmm = configInstance.usingTeamConfig;
// /**
// *
// * End of testing
// *
// * */

window.showInformationMessage(
"Zowe Explorer was modified for the CICS Extension"
"Zowe Explorer was modified for the CICS Extension."
);
} catch (error) {
console.log(error);
window.showInformationMessage("Zowe Explorer was not found: either it is not installed or you are using an older version without extensibility API.");
window.showErrorMessage("Zowe Explorer for IBM CICS was not initiliaized correctly");
}
} else {
window.showErrorMessage("Zowe Explorer was not found: either it is not installed or you are using an older version without extensibility API. Please ensure Zowe Explorer v2.0.0-next.202202221200 or higher is installed");
}

const treeDataProv = new CICSTree();
Expand Down

0 comments on commit b259ebf

Please sign in to comment.