Skip to content

fix: add 'review' to RUNTIME_MODES so normalizeMode accepts it#395

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

fix: add 'review' to RUNTIME_MODES so normalizeMode accepts it#395
nanaubusiness wants to merge 1 commit into
DietrichGebert:mainfrom
nanaubusiness:fix/review-mode-valid-modes

Conversation

@nanaubusiness

Copy link
Copy Markdown

Previously VALID_MODES included 'review' but RUNTIME_MODES did not. Setting PONYTAIL_DEFAULT_MODE=review passed config validation but normalizeMode('review') returned null, silently falling back to 'full'. Now 'review' is consistently accepted in both contexts.

Closes #377

Previously VALID_MODES included 'review' but RUNTIME_MODES did not.
Setting PONYTAIL_DEFAULT_MODE=review passed config validation but
normalizeMode('review') returned null, silently falling back to 'full'.
Now 'review' is in both lists.

Closes DietrichGebert#377
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-config.js: 'review' in VALID_MODES but not RUNTIME_MODES — config accepts it but silently falls back to 'full'

1 participant