mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
auto-fixed prefer-const violation
This commit is contained in:
@@ -37,7 +37,7 @@ exports.createReport = function (isSingle) {
|
||||
const coverageMap = iLibCoverage.createCoverageMap(global.__coverage__);
|
||||
return mapStore.transformCoverage(coverageMap).then((transformed) => {
|
||||
// Paths come out all broken
|
||||
let newData = Object.create(null);
|
||||
const newData = Object.create(null);
|
||||
Object.keys(transformed.data).forEach((file) => {
|
||||
const entry = transformed.data[file];
|
||||
const fixedPath = fixPath(entry.path);
|
||||
@@ -52,7 +52,7 @@ exports.createReport = function (isSingle) {
|
||||
});
|
||||
const tree = context.getTree('flat');
|
||||
|
||||
let reports = [];
|
||||
const reports = [];
|
||||
if (isSingle) {
|
||||
reports.push(iReports.create('lcovonly'));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user