diff --git a/src/utils/profileManagement.ts b/src/utils/profileManagement.ts index 212333b..24ecc7b 100644 --- a/src/utils/profileManagement.ts +++ b/src/utils/profileManagement.ts @@ -20,9 +20,8 @@ import * as https from "https"; import { CICSPlexTree } from "../trees/CICSPlexTree"; export class ProfileManagement { - // TODO: Doesn't seem to be working with specific version '2.0.0-next.202202221200' - private static zoweExplorerAPI = ZoweVsCodeExtension.getZoweExplorerApi(); - private static profilesCache = ProfileManagement.zoweExplorerAPI.getExplorerExtenderApi().getProfilesCache(); + private static zoweExplorerAPI = ZoweVsCodeExtension.getZoweExplorerApi("2.0.0-next.202202221200"); + private static profilesCache = ProfileManagement.zoweExplorerAPI?.getExplorerExtenderApi().getProfilesCache(); constructor() { }