Skip to content

Commit f8be449

Browse files
committed
PR feedback
1 parent aa41fd5 commit f8be449

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

node/mock-task.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,6 @@ export function getHttpProxyConfiguration(requestUrl?: string): task.ProxyConfig
463463
//-----------------------------------------------------
464464
// Http Certificate Helper
465465
//-----------------------------------------------------
466-
export function getHttpCertConfiguration(): task.ProxyConfiguration | null {
466+
export function getHttpCertConfiguration(): task.CertConfiguration | null {
467467
return null
468468
}

node/mock-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ export class MockTestRunner {
3737
}
3838

3939
public stdOutContained(message: string): boolean {
40-
return this.stdout.indexOf(message.trim()) > 0;
40+
return this.stdout.indexOf(message) > 0;
4141
}
4242

4343
public stdErrContained(message: string): boolean {
44-
return this.stderr.indexOf(message.trim()) > 0;
44+
return this.stderr.indexOf(message) > 0;
4545
}
4646

4747
public run(): void {

node/toolrunner.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,10 @@ export class ToolRunner extends events.EventEmitter {
804804
cp.stdout.on('data', (data: Buffer) => {
805805
this.emit('stdout', data);
806806

807+
if (!optionsNonNull.silent) {
808+
optionsNonNull.outStream.write(data);
809+
}
810+
807811
this._processLineBuffer(data, stdbuffer, (line: string) => {
808812
this.emit('stdline', line);
809813
});

0 commit comments

Comments
 (0)