()
| 14 | } from '../src/omnisharp/omnisharpLoggingEvents'; |
| 15 | |
| 16 | export const getNullChannel = (): vscode.OutputChannel => { |
| 17 | const returnChannel: vscode.OutputChannel = { |
| 18 | name: '', |
| 19 | append: (_value: string) => { |
| 20 | /** empty */ |
| 21 | }, |
| 22 | appendLine: (_value: string) => { |
| 23 | /** empty */ |
| 24 | }, |
| 25 | clear: () => { |
| 26 | /** empty */ |
| 27 | }, |
| 28 | show: (_preserveFocusOrColumn?: boolean | vscode.ViewColumn, _preserveFocus?: boolean) => { |
| 29 | /** empty */ |
| 30 | }, |
| 31 | hide: () => { |
| 32 | /** empty */ |
| 33 | }, |
| 34 | dispose: () => { |
| 35 | /** empty */ |
| 36 | }, |
| 37 | }; |
| 38 | return returnChannel; |
| 39 | }; |
| 40 | |
| 41 | export const getNullTelemetryReporter = (): ITelemetryReporter => { |
| 42 | const reporter: ITelemetryReporter = { |
no outgoing calls
no test coverage detected