summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxegineering <me@xegineering.eu>2024-10-02 21:00:25 +0200
committerxegineering <me@xegineering.eu>2024-10-02 21:00:25 +0200
commitcdd23b4b0a7c14dba738f035e75ac640f1ca3e85 (patch)
tree2b886802a47dee36a71b1b8d67306016a247f3cb
parentcdb89bfc9705bdee18a6893d1bb2678f6b8b7edd (diff)
downloadsoundbox-go-cdd23b4b0a7c14dba738f035e75ac640f1ca3e85.tar
soundbox-go-cdd23b4b0a7c14dba738f035e75ac640f1ca3e85.tar.zst
soundbox-go-cdd23b4b0a7c14dba738f035e75ac640f1ca3e85.zip
Fix check.py as pre-commit hook
The file did not work properly if used via Git commit hook symlink.
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 47819a1..bec3fb4 100755
--- a/check.py
+++ b/check.py
@@ -9,7 +9,7 @@ def main() -> None:
subprocess.run(
["go", "test", "-v"],
check=True,
- cwd=pathlib.Path(__file__).parent,
+ cwd=pathlib.Path(__file__).resolve().parent,
)