diff --git a/dist/index.js b/dist/index.js index a58de75..b702cc3 100644 --- a/dist/index.js +++ b/dist/index.js @@ -7650,11 +7650,11 @@ async function updateCheck(checkId, result) { ? `Failed with exit code ${result.exitCode}` : 'Succeeded'; const summary = ''; // Reserve for future - const text = "# Command output\n\n" - + "## stdout\n\n" - + '```' + `\n${result.stdout}\n` + '```' - + "## stderr\n\n" - + '```' + `\n${result.stderr}\n` + '```'; + const text = "# Command output" + + "\n\n## stdout" + + "\n```" + `\n${result.stdout}\n` + '```' + + "\n\n## stderr" + + "\n```" + `\n${result.stderr}\n` + '```'; const updateParams = { owner: github.context.repo.owner, repo: github.context.repo.repo, diff --git a/src/index.ts b/src/index.ts index bc1b13f..d46f2d5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,11 +64,11 @@ async function updateCheck(checkId: number, result: ExecResult): Promise { : 'Succeeded' const summary = ''// Reserve for future - const text = "# Command output\n\n" - + "## stdout\n\n" - + '```' + `\n${result.stdout}\n` + '```' - + "## stderr\n\n" - + '```' + `\n${result.stderr}\n` + '```' + const text = "# Command output" + + "\n\n## stdout" + + "\n```" + `\n${result.stdout}\n` + '```' + + "\n\n## stderr" + + "\n```" + `\n${result.stderr}\n` + '```' const updateParams = { owner: github.context.repo.owner,