Skip to content

Commit

Permalink
Debug go runner result
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoVictor committed Jul 28, 2024
1 parent f236d30 commit 326d6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions container/src/use-cases/run-go.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/, ""));
};
Expand Down

0 comments on commit 326d6df

Please sign in to comment.