* Handles Docker build output and error logging * @param {Object} params - Parameters for build output handling * @param {Array } params.buildOutput - Array to store build output lines * @param {string} params.data - The data/log line to process * @param {Function} params.logger -
({ buildOutput, data })
| 563 | * @param {Function} params.logger - Logger instance to use |
| 564 | */ |
| 565 | #handleBuildOutput({ buildOutput, data }) { |
| 566 | const logLine = data.toString() |
| 567 | buildOutput.push(logLine) |
| 568 | this.logger.debug(logLine) |
| 569 | } |
| 570 | |
| 571 | /** |
| 572 | * Creates appropriate error based on build output |
no test coverage detected