# Do not add empty tasks to inventory \(\#8180\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/583d85cf66a360e9a6bd631179c907ecaf9da7e4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 583d85cf66a360e9a6bd631179c907ecaf9da7e4

Requested commit: 583d85cf66a360e9a6bd631179c907ecaf9da7e4

Commit: 583d85cf66a360e9a6bd631179c907ecaf9da7e4

Tree: 7e8e726f0410b55f7ad1f65d6f44f0e872e1d637

Author: Thorsten Ball

Committer: GitHub

## Message

```
Do not add empty tasks to inventory (#8180)

I ran into this when trying out which keybindings work and accidentally
added empty tasks. They get then added to the task inventory and
displayed in the picker.

Release Notes:

- Fixed empty tasks being added to the list of tasks when using `task:
spawn`

---------

Co-authored-by: Kirill <kirill@zed.dev>
```

## Parents

- [36586b77ec7dd3fe487f7182eb248a42f3c6028e](https://git.cafe/gitcafe/zed/commit/36586b77ec7dd3fe487f7182eb248a42f3c6028e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/583d85cf66a360e9a6bd631179c907ecaf9da7e4?format=markdown)
