Skip to content

Conversation

@gibson042
Copy link
Member

@gibson042 gibson042 commented Jul 28, 2025

Description

For readability, prefer short consequents before long alternatives and in particular the $condition || Fail`…` pattern where possible.

Best viewed while ignoring whitespace changes: ?w=1

@gibson042 gibson042 requested a review from a team as a code owner July 28, 2025 15:26
@gibson042 gibson042 requested a review from AgoricTriage July 28, 2025 15:26
@cloudflare-workers-and-pages
Copy link

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: a775a7b
Status: ✅  Deploy successful!
Preview URL: https://8fb3b320.agoric-sdk.pages.dev
Branch Preview URL: https://gibson-2025-07-cleanup-vatke.agoric-sdk.pages.dev

View logs

Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only downside of the cond || is that TypeScript doesn't know to narrow Fail but this wasn't using throw anyway

@gibson042 gibson042 added the automerge:squash Automatically squash merge label Nov 15, 2025
@gibson042 gibson042 force-pushed the gibson-2025-07-cleanup-vatkeeper branch from a775a7b to 5a043cd Compare November 15, 2025 18:38
@mergify mergify bot merged commit b3de433 into master Nov 15, 2025
94 checks passed
@mergify mergify bot deleted the gibson-2025-07-cleanup-vatkeeper branch November 15, 2025 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge:squash Automatically squash merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants