Skip to content

formulary: improve/loosen path rejection logic.#20457

Merged
MikeMcQuaid merged 1 commit intomainfrom
formulary_improve_path_detection
Aug 14, 2025
Merged

formulary: improve/loosen path rejection logic.#20457
MikeMcQuaid merged 1 commit intomainfrom
formulary_improve_path_detection

Conversation

@MikeMcQuaid
Copy link
Member

@MikeMcQuaid MikeMcQuaid commented Aug 14, 2025

  • Don't check if the realpath includes /: it always will. Instead, see if the originally user-passed ref includes / or ends with .rb.
  • Always raise an error message, don't silently return.

Fixes #20441
Fixes #20448
Fixes #20452

- Don't check if the `realpath` includes `/`: it always will.
  Instead, see if the originally user-passed `ref` includes `/` or ends
  with `.rb`.
- Always raise an error message, don't silently return.
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Aug 14, 2025
Merged via the queue into main with commit 31f1b4a Aug 14, 2025
36 checks passed
@MikeMcQuaid MikeMcQuaid deleted the formulary_improve_path_detection branch August 14, 2025 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants