Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve access to root repo directory #96

Closed
plastikfan opened this issue Jan 4, 2024 · 0 comments · Fixed by #98
Closed

improve access to root repo directory #96

plastikfan opened this issue Jan 4, 2024 · 0 comments · Fixed by #98
Assignees
Labels
test Automated testing

Comments

@plastikfan
Copy link
Contributor

update unit tests which need to reference the root of the repo but using a git call:

git rev-parse --show-toplevel

executed this form go using something like:

cmd := exec.Command("git", "rev-parse", "--show-toplevel")
output, err := cmd.CombinedOutput()
...
@plastikfan plastikfan added the test Automated testing label Jan 4, 2024
@plastikfan plastikfan self-assigned this Jan 4, 2024
@plastikfan plastikfan linked a pull request Jan 4, 2024 that will close this issue
@plastikfan plastikfan linked a pull request Jan 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Automated testing
Projects
None yet
1 participant