Update prettier to v2 (#11579)

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
This commit is contained in:
Bogdan Savluk
2020-06-07 22:21:33 +02:00
committed by GitHub
parent 426acf336e
commit 4108524856
147 changed files with 1018 additions and 1106 deletions

View File

@@ -187,9 +187,7 @@ runner
"The following Features are not currently mapped or ignored:"
);
console.log(
Array.from(unmappedFeatures)
.join("\n")
.replace(/^/gm, " ")
Array.from(unmappedFeatures).join("\n").replace(/^/gm, " ")
);
}
})

View File

@@ -121,7 +121,7 @@ class TestRunner {
count: results.length,
};
results.forEach(function(result) {
results.forEach(function (result) {
let classification, isAllowed;
const inWhitelist = whitelist.has(result.id);
whitelist.delete(result.id);
@@ -200,7 +200,7 @@ class TestRunner {
tests: summary.unrecognized,
label: "non-existent programs specified in the whitelist file",
},
].forEach(function({ tests, label }) {
].forEach(function ({ tests, label }) {
if (!tests.length) {
return;
}