Skip to content

Commit 0e3788a

Browse files
committed
Record isBrokered's new home in the duplicate-definition guard
The Connections page's helpers moved from the route file into lib/plugins/listed.ts, and the guard's list of known brokered-provenance sites still named the route file.
1 parent 4d23c1f commit 0e3788a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎server/tests/sole-definition.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,10 @@ const KNOWN_DUPLICATES: Record<
163163
> = {
164164
"brokered-provenance": {
165165
finding: "round-1 DRY sweep (`brokeredProvenance` defined 2x) + G-series",
166-
why: "One predicate for the app and one for the server, plus the same two-arm literal open-coded as `isBrokered` on the connected-accounts page; collapsing them is a cross-package move the fix cycle owns.",
166+
why: "One predicate for the app and one for the server, plus the same two-arm literal open-coded as `isBrokered` in the Connections page's helpers (`lib/plugins/listed.ts`); collapsing them is a cross-package move the fix cycle owns.",
167167
sites: [
168+
"app/src/lib/plugins/listed.ts",
168169
"app/src/lib/plugins/provider-vocabulary.ts",
169-
"app/src/routes/_authed/_app/connections.index.tsx",
170170
"server/src/plugins/access.ts",
171171
],
172172
},

0 commit comments

Comments
 (0)