Skip to content

Commit ef4e0e4

Browse files
style(webview): break the longest line in the claim refusal
The refusal text is built in a local before the call so the line stays inside 120 columns. The message a reader sees is unchanged. The extension package measures 496 changed executable lines after this.
1 parent 71277fa commit ef4e0e4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/core/webview/ClineProvider.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,9 +1175,8 @@ export class ClineProvider
11751175
// would load that view's pinned profile, nested overlay, and mode into this
11761176
// provider, and this webview could then overwrite that view's persisted entry.
11771177
// Staying on the temporary id keeps this view working against the shared state.
1178-
return refuseRegistration(
1179-
`Refusing ${normalizedViewStateId} for view ${this.viewId}: already claimed by live view ${claimant.viewId}.`,
1180-
)
1178+
const refusalMessage = `Refusing ${normalizedViewStateId} for view ${this.viewId}: already claimed by live view ${claimant.viewId}.`
1179+
return refuseRegistration(refusalMessage)
11811180
}
11821181

11831182
// Claim binding, checked before any re-key or load so a refused registration can

0 commit comments

Comments
 (0)