Skip to content

fix: handle /ponytail:review (colon form) for review mode#367

Open
nanaubusiness wants to merge 1 commit into
DietrichGebert:mainfrom
nanaubusiness:fix/mode-tracker-colon-review
Open

fix: handle /ponytail:review (colon form) for review mode#367
nanaubusiness wants to merge 1 commit into
DietrichGebert:mainfrom
nanaubusiness:fix/mode-tracker-colon-review

Conversation

@nanaubusiness

Copy link
Copy Markdown

Previously '/ponytail:review' fell through to getDefaultMode() instead of activating review mode — the condition checked for '/ponytail:ponytail-review' (wrong pattern, also unreachable). Now correctly matches '/ponytail:review'.

Also removes the unreachable /ponytail:ponytail-review disjunct that could never be matched.

Closes #361

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hooks/ponytail-mode-tracker.js: /ponytail:review silently activates wrong mode

1 participant