(target: CaptureTarget)
| 365 | } |
| 366 | |
| 367 | function getCaptureButtonLabel(target: CaptureTarget): string { |
| 368 | return target === 'code' |
| 369 | ? 'Save snippet' |
| 370 | : target === 'notes' |
| 371 | ? 'Save note' |
| 372 | : 'Save request' |
| 373 | } |
| 374 | |
| 375 | function setStatus(message: string, isError = false): void { |
| 376 | if (!statusText) { |
no outgoing calls
no test coverage detected