aboutsummaryrefslogtreecommitdiff
path: root/hooks/_common.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-23 23:16:03 -0400
committerCraig Jennings <c@cjennings.net>2026-06-23 23:16:03 -0400
commite5aab199cd4c83f357ff5190139ddf2994ac28a3 (patch)
tree0e7dbb511cc77a15ca1131b8ed9c988497ff4f1a /hooks/_common.py
parent24ca58d764dbcc2bad57a914a10e9e9b89a3f66e (diff)
downloadrulesets-e5aab199cd4c83f357ff5190139ddf2994ac28a3.tar.gz
rulesets-e5aab199cd4c83f357ff5190139ddf2994ac28a3.zip
fix(elisp): cd to tests/ before the Phase 2 test load
Phase 2's plain `-l` load ran emacs from PROJECT_ROOT, so test files that resolve test-bootstrap.el with `(expand-file-name "test-bootstrap.el")` against default-directory couldn't find it and failed with "Cannot open load file". Phase 1 escaped this because byte-compile-file rebinds default-directory to the source file's dir. The cd restores the tests/ working directory the tests/Makefile already runs from. Restores b2e9038, dropped when a consuming project's .claude refreshed to the rulesets canonical, which never carried the fix. Claude-Session: https://claude.ai/code/session_017PtX1nt1rtYVATuzmzBS4f
Diffstat (limited to 'hooks/_common.py')
0 files changed, 0 insertions, 0 deletions