# fetch: refactor package root in errors · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8c58b8fe0107fe3e06ec8bac2b2c25f706406c82)

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

Visibility: public

Requested revision: 8c58b8fe0107fe3e06ec8bac2b2c25f706406c82

Requested commit: 8c58b8fe0107fe3e06ec8bac2b2c25f706406c82

Commit: 8c58b8fe0107fe3e06ec8bac2b2c25f706406c82

Tree: 0b935e778f0141f5c40f2156f1b093cd3ceb6932

Author: Igor Anić

Committer: Igor Anić

## Message

```
fetch: refactor package root in errors

Use stripRoot in less places. Strip it while copying error from
diagnostic to unpack result so other palaces can be free of this logic.

```

## Parents

- [b422e4a202f3b4d6e33c1433c3d27152dc5bc925](https://git.cafe/gitcafe/zig/commit/b422e4a202f3b4d6e33c1433c3d27152dc5bc925?format=markdown)

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