# Code review request: codeowners package

**URL:** <https://forum.elixirforum.com/t/code-review-request-codeowners-package/63135>\
**Category:** Questions\
**Tags:** code-review\
**Created:** [April 26, 2024, 12:03am UTC](https://forum.elixirforum.com/t/code-review-request-codeowners-package/63135 "2024-04-26T00:03:12Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![reid-rigo](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/reid-rigo/32/34428_2.png) [@reid-rigo](https://forum.elixirforum.com/u/reid-rigo)\
**Post date:** [April 27, 2024, 1:19pm UTC](https://forum.elixirforum.com/t/code-review-request-codeowners-package/63135/11 "2024-04-27T13:19:15Z")

</div>

> the use of `File.cwd!` in `build` is odd; consider allowing callers to either supply a root directly or as an override. To reduce the need for most callers to pass a root, `load` could do some guessing based on if the supplied file is in a `doc` or `.github` directory.

I made a change to accept root as an option in [this commit](https://github.com/reid-rigo/codeowners/commit/d2bfeb74579f7c11f979b3d657f2bab07e1994ee)

---

_[View the full topic](https://forum.elixirforum.com/t/code-review-request-codeowners-package/63135)._
