adiciona parâmetro maxOkExitCode ao método runHelper para permitir códigos de saída personalizados

This commit is contained in:
Alexander Sabino 2026-05-07 12:25:45 +01:00
parent ee7bec2d66
commit e174af1be7
1 changed files with 2 additions and 1 deletions

View File

@ -597,7 +597,8 @@ class DockerService {
} }
} }
async runHelper({ binds, cmd, onOutput }) { await this.ensureImage(); async runHelper({ binds, cmd, onOutput, maxOkExitCode = 0 }) {
await this.ensureImage();
const container = await this.docker.createContainer({ const container = await this.docker.createContainer({
Image: this.helperImage, Image: this.helperImage,