# Remove old extension dir when upgrading \(\#9800\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5e7fcc02fa38fdb8cb8baaaa2f906399ece072e5

Requested commit: 5e7fcc02fa38fdb8cb8baaaa2f906399ece072e5

Commit: 5e7fcc02fa38fdb8cb8baaaa2f906399ece072e5

Tree: 231817ca96332ce3922801b0655aa4905a660d2f

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Remove old extension dir when upgrading (#9800)

Fixes #9799

Release Notes:

- Fixed a bug where upgrading an extension did not work correctly if the
extension had switched from using an old extension schema with
`extension.json` to the new schema with `extension.toml`.
```

## Parents

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

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