Show workflow parse error in description

Signed-off-by: Sanjula Ganepola <sanjulagane@gmail.com>
This commit is contained in:
Sanjula Ganepola
2024-11-19 09:10:37 -05:00
parent 8d7c9e1fbf
commit 860b5101ba
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ export default class WorkflowTreeItem extends TreeItem implements GithubLocalAct
(workflow.error ? `Error: ${workflow.error}` : ``);
if (workflow.error) {
this.description = workflow.error;
this.resourceUri = Uri.parse(`${WorkflowTreeItem.contextValue}:${workflow.name}?error=${workflow.error}`, true);
}
}