()
| 246 | } |
| 247 | |
| 248 | async getVersion(): Promise<[number, string, string]> { |
| 249 | const commandBazelInfoVersion = `version --gnu_format`; |
| 250 | const { |
| 251 | returnCode: returnCode, |
| 252 | stdout: versionInfo, |
| 253 | stderr: error, |
| 254 | } = await this.runCommand(commandBazelInfoVersion); |
| 255 | |
| 256 | return [returnCode, versionInfo.trim(), String(error)]; |
| 257 | } |
| 258 | |
| 259 | private async runCommandWithLinesOutput(command: string): Promise<string[]> { |
| 260 | const { stdout: outputStrings } = await this.runCommand(command); |
no test coverage detected