Skip to content

Commit e6efcae

Browse files
authored
Merge pull request #1 from gitpod-samples/axonasif/fix-task-id
fix: task parsing for long names
2 parents 3c41152 + 643c25a commit e6efcae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gp_tasks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub fn attach() -> Result<(), Report> {
6363
let task_name = &capture["task_name"];
6464
let task_status = &capture["task_status"];
6565

66-
if task_status == "stopped" {
66+
if task_status == "stopped" || task_id.is_empty() {
6767
continue;
6868
}
6969

0 commit comments

Comments
 (0)