(
command: string,
args: string[],
execOptions: ExecutionOptionsWithEnv,
inputFilename: string,
)
| 73 | } |
| 74 | |
| 75 | private async doLeanBuildstep( |
| 76 | command: string, |
| 77 | args: string[], |
| 78 | execOptions: ExecutionOptionsWithEnv, |
| 79 | inputFilename: string, |
| 80 | ) { |
| 81 | const result = await this.exec(command, args, execOptions); |
| 82 | const processedResult = this.processExecutionResult(result, result.filenameTransform(inputFilename)); |
| 83 | |
| 84 | for (const output of [processedResult.stdout, processedResult.stderr]) { |
| 85 | for (const line of output) { |
| 86 | if (line.tag?.column !== undefined) { |
| 87 | // Lean reports zero-based columns, Monaco diagnostics use one-based columns |
| 88 | line.tag.column++; |
| 89 | } |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | return processedResult; |
| 94 | } |
| 95 | |
| 96 | private partitionOptionsForSteps( |
| 97 | options: string[], |
no test coverage detected