Skip to content

Commit f769184

Browse files
authored
fix: component analysis status bar error tooltip not showing (#798)
1 parent cea1574 commit f769184

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/caStatusBarProvider.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ class CAStatusBarProvider implements Disposable {
2525
public showSummary(text: string, uri: Uri): void {
2626
this.statusBarItem.text = text;
2727
this.statusBarItem.command = {
28+
// Unused but required?
2829
title: PromptText.FULL_STACK_PROMPT_TEXT,
2930
command: commands.STACK_ANALYSIS_FROM_STATUS_BAR_COMMAND,
30-
arguments: [uri]
31+
arguments: [uri],
3132
};
3233
this.statusBarItem.tooltip = PromptText.FULL_STACK_PROMPT_TEXT;
3334
this.statusBarItem.show();
@@ -39,9 +40,11 @@ class CAStatusBarProvider implements Disposable {
3940
public setError(): void {
4041
this.statusBarItem.text = `$(error) RHDA analysis has failed`;
4142
this.statusBarItem.command = {
43+
// Unused but required?
4244
title: PromptText.LSP_FAILURE_TEXT,
4345
command: commands.STACK_LOGS_COMMAND,
4446
};
47+
this.statusBarItem.tooltip = PromptText.LSP_FAILURE_TEXT;
4548
}
4649

4750
/**

0 commit comments

Comments
 (0)