From 326d6df17152722b52d4ae310e881e7e6dca44d2 Mon Sep 17 00:00:00 2001 From: DiegoVictor Date: Sun, 28 Jul 2024 18:42:14 -0300 Subject: [PATCH] Debug go runner result --- container/src/use-cases/run-go.js | 1 + 1 file changed, 1 insertion(+) diff --git a/container/src/use-cases/run-go.js b/container/src/use-cases/run-go.js index c9a8dd5..76c0625 100644 --- a/container/src/use-cases/run-go.js +++ b/container/src/use-cases/run-go.js @@ -15,6 +15,7 @@ const main = async ({ code, inputs }) => { await writeFile(filename, challenge); const result = await command("go", ["run", filename, JSON.stringify(inputs)]); + console.log(result); return JSON.parse(result.replace(/\n/, "")); };