Skip to content

Commit

Permalink
fix: address breaking change in checkCurrentProfile function sig 😋
Browse files Browse the repository at this point in the history
Signed-off-by: zFernand0 <[email protected]>
  • Loading branch information
zFernand0 committed Jul 29, 2024
1 parent e8b9224 commit 2702e39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/zowe-explorer/src/trees/ZoweTreeProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export class ZoweTreeProvider<T extends IZoweTreeNode> {
}
}

public async checkCurrentProfile(node: IZoweTreeNode): Promise<void> {
public async checkCurrentProfile(node: IZoweTreeNode): Promise<Validation.IValidationProfile> {
ZoweLogger.trace("ZoweTreeProvider.checkCurrentProfile called.");
const profile = node.getProfile();
const profileStatus = await Profiles.getInstance().checkCurrentProfile(profile);
Expand Down Expand Up @@ -281,6 +281,7 @@ export class ZoweTreeProvider<T extends IZoweTreeNode> {
}
}
this.refresh();
return profileStatus;
}

public async ssoLogin(node: IZoweTreeNode): Promise<void> {
Expand Down

0 comments on commit 2702e39

Please sign in to comment.