style(portal-bff): apply prettier to check-database-url.ts #71

Merged
julien merged 1 commits from fix/portal-bff/prettier-check-database-url into main 2026-05-09 22:45:12 +02:00
Owner

Summary

Cosmetic-only follow-up to #70. Collapses one over-cautious multi-line throw new Error(...) into a single line that fits within the project's 100-char printWidth.

The reformat was produced by lint-staged during the amend that landed #70, but applied to the working tree only — the modification never made it back into the staged content of the amend. The merged commit therefore carries the un-prettified version.

Spotted locally with pnpm exec prettier --check apps/portal-bff/src/config/check-database-url.ts failing. Left unchecked, the next PR's check job would break at format:check for unrelated reasons.

Test plan

  • CI green on this PR (format:check clean).
  • No behavioural change — only whitespace.
## Summary Cosmetic-only follow-up to #70. Collapses one over-cautious multi-line `throw new Error(...)` into a single line that fits within the project's 100-char `printWidth`. The reformat was produced by lint-staged **during** the amend that landed #70, but applied to the working tree only — the modification never made it back into the staged content of the amend. The merged commit therefore carries the un-prettified version. Spotted locally with `pnpm exec prettier --check apps/portal-bff/src/config/check-database-url.ts` failing. Left unchecked, the next PR's `check` job would break at `format:check` for unrelated reasons. ## Test plan - [ ] CI green on this PR (`format:check` clean). - [ ] No behavioural change — only whitespace.
julien added 1 commit 2026-05-09 22:44:12 +02:00
style(portal-bff): apply prettier to check-database-url.ts
CI / commits (pull_request) Successful in 1m32s
CI / scan (pull_request) Successful in 1m42s
CI / check (pull_request) Successful in 1m44s
CI / a11y (pull_request) Successful in 1m34s
CI / perf (pull_request) Successful in 3m21s
ab8f2c82ae
Cosmetic-only — collapses one over-cautious multi-line
`throw new Error(...)` into a single line that fits within the
project's 100-char `printWidth`.

The reformat was produced by lint-staged DURING the amend that
landed #70, but applied to the working tree only — the modification
never made it back into the staged content of the amend, so the
merged commit has the un-prettified version. Spotted because
`pnpm exec prettier --check` fails locally; left unchecked, this
would break the next PR's `check` job at `format:check`.

No behavioural change.
julien merged commit c3c15585ff into main 2026-05-09 22:45:12 +02:00
julien deleted branch fix/portal-bff/prettier-check-database-url 2026-05-09 22:45:19 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: julien/apf_portal#71