Skip to content

Commit 6d83772

Browse files
committed
Reformat a message send call for improved readability
1 parent e43dffe commit 6d83772

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

packages/vscode/src/view/backend/view-provider.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ import {
4444
handle_pick_open_router_model,
4545
handle_pick_chatbot
4646
} from './message-handlers'
47-
import {
48-
LAST_APPLIED_CLIPBOARD_CONTENT_STATE_KEY
49-
} from '@/constants/state-keys'
47+
import { LAST_APPLIED_CLIPBOARD_CONTENT_STATE_KEY } from '@/constants/state-keys'
5048
import { can_revert } from '@/commands/revert-command'
5149
import {
5250
config_preset_to_ui_format,
@@ -264,7 +262,10 @@ export class ViewProvider implements vscode.WebviewViewProvider {
264262
last_applied_content &&
265263
clipboard_text === last_applied_content
266264
) {
267-
this.send_message({ command: 'CAN_APPLY_CLIPBOARD_CHANGED', can_apply: false })
265+
this.send_message({
266+
command: 'CAN_APPLY_CLIPBOARD_CHANGED',
267+
can_apply: false
268+
})
268269
return
269270
}
270271

0 commit comments

Comments
 (0)