From ab5eff8589ebe3d24b4de25baf8ffbcb1c8ec72e Mon Sep 17 00:00:00 2001 From: meganrogge Date: Wed, 5 May 2021 14:19:30 -0700 Subject: [PATCH] use square not curly brackets --- .../contrib/terminal/common/remoteTerminalChannel.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts b/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts index 1844ff66f35..302ae7aaebd 100644 --- a/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts +++ b/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts @@ -254,11 +254,11 @@ export class RemoteTerminalChannelClient { } updateTitle(id: number, title: string): Promise { - return this._channel.call('$updateTitle', { id, title }); + return this._channel.call('$updateTitle', [id, title]); } updateIcon(id: number, icon: string): Promise { - return this._channel.call('$updateIcon', { id, icon }); + return this._channel.call('$updateIcon', [id, icon]); } getTerminalLayoutInfo(): Promise {