File tree Expand file tree Collapse file tree 4 files changed +0
-17
lines changed Expand file tree Collapse file tree 4 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,5 @@ interface ILogger {
1414
1515 prepare ( item : any ) : string ;
1616 printInfoMessageOnSameLine ( message : string ) : void ;
17- printMsgWithTimeout ( message : string , timeout : number ) : Promise < void > ;
1817 printOnStderr ( formatStr ?: any , ...args : any [ ] ) : void ;
1918}
Original file line number Diff line number Diff line change @@ -113,16 +113,6 @@ export class Logger implements ILogger {
113113 }
114114 }
115115
116- public printMsgWithTimeout ( message : string , timeout : number ) : Promise < void > {
117- return new Promise < void > ( ( resolve , reject ) => {
118- setTimeout ( ( ) => {
119- this . printInfoMessageOnSameLine ( message ) ;
120- resolve ( ) ;
121- } , timeout ) ;
122-
123- } ) ;
124- }
125-
126116 public printMarkdown ( ...args : string [ ] ) : void {
127117 const opts = {
128118 unescape : true ,
Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ export class CommonLoggerStub implements ILogger {
4747 }
4848
4949 printInfoMessageOnSameLine ( message : string ) : void { }
50- async printMsgWithTimeout ( message : string , timeout : number ) : Promise < void > {
51- return null ;
52- }
5350
5451 printMarkdown ( message : string ) : void {
5552 this . output += message ;
Original file line number Diff line number Diff line change @@ -36,9 +36,6 @@ export class LoggerStub implements ILogger {
3636 }
3737
3838 printInfoMessageOnSameLine ( message : string ) : void { }
39- async printMsgWithTimeout ( message : string , timeout : number ) : Promise < void > {
40- return null ;
41- }
4239
4340 printMarkdown ( message : string ) : void { }
4441
You can’t perform that action at this time.
0 commit comments