Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

Commit 7a30981

Browse files
committed
Change concat to spread
1 parent ff30eff commit 7a30981

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vscode-tcf-debug/src/tcfclient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export abstract class TCFClient extends AbstractTCFClient {
239239
* @returns a list of buffers with the first 'error' buffer empty.
240240
*/
241241
private static noError(buffers: Buffer[]): Buffer[] {
242-
return [EMPTY_BUFFER].concat(buffers);
242+
return [EMPTY_BUFFER, ...buffers];
243243
}
244244

245245
//see https://download.eclipse.org/tools/tcf/tcf-docs/TCF%20Service%20-%20Run%20Control.html#Events

0 commit comments

Comments
 (0)