adiciona parâmetro maxOkExitCode ao método runHelper para permitir códigos de saída personalizados
This commit is contained in:
parent
ee7bec2d66
commit
e174af1be7
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue