diff --git a/packages/vsce/src/utils/profileManagement.ts b/packages/vsce/src/utils/profileManagement.ts index bbf19c01..c50b778b 100644 --- a/packages/vsce/src/utils/profileManagement.ts +++ b/packages/vsce/src/utils/profileManagement.ts @@ -20,7 +20,7 @@ import { LoggerUtils } from "./loggerUtils"; export class ProfileManagement { private static zoweExplorerAPI = ZoweVsCodeExtension.getZoweExplorerApi(); - private static ProfilesCache = new ProfilesCache(LoggerUtils.instance.getImperativeLogger()); + private static ProfilesCache = ProfileManagement.zoweExplorerAPI.getExplorerExtenderApi().getProfilesCache(); constructor() {}