From a59122df81d2378b6d1681fcedf9e5403610cbb0 Mon Sep 17 00:00:00 2001 From: Karan Jit Singh Date: Tue, 22 Oct 2019 12:51:57 +0530 Subject: [PATCH] log rg failures (#11611) --- .../PublishCodeCoverageResultsV1/publishcodecoverageresults.ts | 3 ++- Tasks/PublishCodeCoverageResultsV1/task.json | 2 +- Tasks/PublishCodeCoverageResultsV1/task.loc.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Tasks/PublishCodeCoverageResultsV1/publishcodecoverageresults.ts b/Tasks/PublishCodeCoverageResultsV1/publishcodecoverageresults.ts index 42bc44638066..15e225a38b30 100644 --- a/Tasks/PublishCodeCoverageResultsV1/publishcodecoverageresults.ts +++ b/Tasks/PublishCodeCoverageResultsV1/publishcodecoverageresults.ts @@ -193,7 +193,8 @@ async function generateHtmlReport(summaryFile: string, targetDir: string, pathTo // Listen for stderr. let isError = false; - dotnet.on('stderr', () => { + dotnet.on('stderr', (data: Buffer) => { + console.error(data.toString()); isError = true; }); diff --git a/Tasks/PublishCodeCoverageResultsV1/task.json b/Tasks/PublishCodeCoverageResultsV1/task.json index d725c8f8a664..da8fdeaa8549 100644 --- a/Tasks/PublishCodeCoverageResultsV1/task.json +++ b/Tasks/PublishCodeCoverageResultsV1/task.json @@ -16,7 +16,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 159, + "Minor": 160, "Patch": 0 }, "demands": [], diff --git a/Tasks/PublishCodeCoverageResultsV1/task.loc.json b/Tasks/PublishCodeCoverageResultsV1/task.loc.json index 53fba797ad94..31a45b12e2af 100644 --- a/Tasks/PublishCodeCoverageResultsV1/task.loc.json +++ b/Tasks/PublishCodeCoverageResultsV1/task.loc.json @@ -16,7 +16,7 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 159, + "Minor": 160, "Patch": 0 }, "demands": [],