(command: string, key: string, value?: string)
| 339 | } |
| 340 | |
| 341 | function attachArg(command: string, key: string, value?: string): string { |
| 342 | if (value !== undefined) { |
| 343 | return `${command} --${key} ${value}`; |
| 344 | } |
| 345 | return command; |
| 346 | } |
| 347 | |
| 348 | function isString(s: string | null | undefined): s is string { |
| 349 | return typeof s === 'string' && s.trim().length > 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…