# extension_cli: Properly populate manifest with snippet location \(\#44425\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bb591f1e653a492c2d6c85353181e5151dbf8ac7

Requested commit: bb591f1e653a492c2d6c85353181e5151dbf8ac7

Commit: bb591f1e653a492c2d6c85353181e5151dbf8ac7

Tree: f83c1ef6979f7ad5f4ffa66c65f917fdbe2f2678

Author: Finn Evers

Committer: GitHub

## Message

```
extension_cli: Properly populate manifest with snippet location (#44425)

This fixes an issue where the snippet file location would not be the
proper one for compiled extensions because it would be populated with an
absolute path instead of a relative one in relation to the extension
output directory. This caused the copy operation downstream to not do
anything, because it copied the file to the location it already was
(which was not the output directory for that extension).

Also adds some tests and pulls in the `Fs` so we do not have such issues
with snippets a third time hopefully.

Release Notes:

- N/A
```

## Parents

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

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