Skip to content

fix: add error handling to setMode + check all 6 copilot commands#394

Open
nanaubusiness wants to merge 1 commit into
DietrichGebert:mainfrom
nanaubusiness:fix/runtime-setmode-errors
Open

fix: add error handling to setMode + check all 6 copilot commands#394
nanaubusiness wants to merge 1 commit into
DietrichGebert:mainfrom
nanaubusiness:fix/runtime-setmode-errors

Conversation

@nanaubusiness

Copy link
Copy Markdown

Two fixes:

- hooks/ponytail-runtime.js: wrap setMode writeFileSync in try/catch
  so disk full or permission errors don't crash the hook
- tests/copilot-plugin.test.js: check all 6 TOML files, not just 4

Closes DietrichGebert#378, Closes DietrichGebert#381
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant