Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 01cab6f

Browse files
rudygtweinand
authored andcommitted
remove unused declaration
1 parent 5237aae commit 01cab6f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/node/nodeDebug.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,7 @@ export class NodeDebugSession extends DebugSession {
451451
this.sendEvent(new OutputEvent(cli, 'console'));
452452
}
453453

454-
private _captureOutput(process: CP.ChildProcess) {
455-
456-
var sanitize = (s: string) => s.toString().replace(/\r\n$/mg, '\n');
457-
454+
private _captureOutput(process: CP.ChildProcess) {
458455
process.stdout.on('data', (data: string) => {
459456
this.sendEvent(new OutputEvent(data.toString(), 'stdout'));
460457
});

0 commit comments

Comments
 (0)