From e174af1be78369488f921c634df0857a6dd0d3fc Mon Sep 17 00:00:00 2001 From: Alexander Sabino <32822107+asabino2@users.noreply.github.com> Date: Thu, 7 May 2026 12:25:45 +0100 Subject: [PATCH] =?UTF-8?q?adiciona=20par=C3=A2metro=20maxOkExitCode=20ao?= =?UTF-8?q?=20m=C3=A9todo=20runHelper=20para=20permitir=20c=C3=B3digos=20d?= =?UTF-8?q?e=20sa=C3=ADda=20personalizados?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dockerService.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dockerService.js b/src/dockerService.js index 36291cd..c7542fe 100644 --- a/src/dockerService.js +++ b/src/dockerService.js @@ -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({ Image: this.helperImage,