Skip to content

Commit bf315d4

Browse files
author
Egor Bryzgalov
authored
[PublishCodeCoverageResultsV1] hotfix (#13942)
* Reverted changes * Changed version
1 parent 6e04fb6 commit bf315d4

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

Tasks/PublishCodeCoverageResultsV1/publishcodecoverageresults.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,6 @@ function getTempFolder(): string {
156156
}
157157
}
158158

159-
function GetQuotesSurroundedPath(path) {
160-
return '"' + path + '"';
161-
}
162-
163159
async function generateHtmlReport(summaryFile: string, targetDir: string, pathToSources: string): Promise<boolean> {
164160
const osvar = process.platform;
165161
let dotnet: tr.ToolRunner;
@@ -178,8 +174,8 @@ async function generateHtmlReport(summaryFile: string, targetDir: string, pathTo
178174
dotnet.arg(path.join(__dirname, 'netcoreapp2.0', 'ReportGenerator.dll'));
179175
}
180176

181-
dotnet.arg('-reports:' + GetQuotesSurroundedPath(summaryFile));
182-
dotnet.arg('-targetdir:' + GetQuotesSurroundedPath(targetDir));
177+
dotnet.arg('-reports:' + summaryFile);
178+
dotnet.arg('-targetdir:' + targetDir);
183179
dotnet.arg('-reporttypes:HtmlInline_AzurePipelines');
184180

185181
if (!isNullOrWhitespace(pathToSources)) {

Tasks/PublishCodeCoverageResultsV1/task.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 1,
19-
"Minor": 175,
20-
"Patch": 1
19+
"Minor": 178,
20+
"Patch": 0
2121
},
2222
"demands": [],
2323
"minimumAgentVersion": "2.102.0",

Tasks/PublishCodeCoverageResultsV1/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"author": "Microsoft Corporation",
1717
"version": {
1818
"Major": 1,
19-
"Minor": 175,
20-
"Patch": 1
19+
"Minor": 178,
20+
"Patch": 0
2121
},
2222
"demands": [],
2323
"minimumAgentVersion": "2.102.0",

0 commit comments

Comments
 (0)