# terminal: Check for script existence properly before activating it \(\#23476\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 11bb90652083ee1166ce7180e34cb7a4649d8b60

Requested commit: 11bb90652083ee1166ce7180e34cb7a4649d8b60

Commit: 11bb90652083ee1166ce7180e34cb7a4649d8b60

Tree: da58fc9d9574dc1b4b2b5bccb1e745371c3a227b

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
terminal: Check for script existence properly before activating it (#23476)

We were not covering a variant where the returned metadata was Ok(None)

Closes #ISSUE

Release Notes:

- Fixed venv activation script path showing up in terminal for
non-existant scripts.
```

## Parents

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

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