Skip to content

Commit b2d87e0

Browse files
Bump prettier from 2.8.4 to 3.8.2 (#51)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Philip Meier <[email protected]>
1 parent 96fadef commit b2d87e0

5 files changed

Lines changed: 19 additions & 17 deletions

File tree

‎dist/index.js‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5257,7 +5257,7 @@ async function main(inputs) {
52575257
const { isEmpty, generator } = await checkAsyncGeneratorEmpty(xmls);
52585258
if (isEmpty && inputs.failOnEmpty) {
52595259
gha.setFailed(
5260-
"No JUnit XML file was found. Set `fail-on-empty: false` if that is a valid use case"
5260+
"No JUnit XML file was found. Set `fail-on-empty: false` if that is a valid use case",
52615261
);
52625262
}
52635263
xmls = generator;
@@ -5291,8 +5291,8 @@ const resultTypes = [
52915291
const resultTypesWithEmoji = zip(
52925292
resultTypes,
52935293
["green", "yellow", "yellow", "red", "red", "red"].map(
5294-
(color) => `:${color}_circle:`
5295-
)
5294+
(color) => `:${color}_circle:`,
5295+
),
52965296
);
52975297

52985298
async function postResults(xmls, inputs) {
@@ -5393,7 +5393,7 @@ async function addResults(results, title, summary, displayOptions) {
53935393
addDetailsWithCodeBlock(
53945394
gha.summary,
53955395
gha.summary.wrap("code", result.id),
5396-
result.msg
5396+
result.msg,
53975397
);
53985398
} else {
53995399
gha.summary.addRaw(`\n:heavy_check_mark: ${result.id}`, true);
@@ -5405,7 +5405,7 @@ async function addResults(results, title, summary, displayOptions) {
54055405
function addSummary(results) {
54065406
gha.summary.addRaw(
54075407
`Ran ${results.total_tests} tests in ${prettyDuration(results.total_time)}`,
5408-
true
5408+
true,
54095409
);
54105410

54115411
var rows = [["Result", "Amount"]];
@@ -5452,7 +5452,7 @@ function getResultTypesFromDisplayOptions(displayOptions) {
54525452
function addDetailsWithCodeBlock(summary, label, code) {
54535453
return summary.addDetails(
54545454
label,
5455-
"\n\n" + summary.wrap("pre", summary.wrap("code", code))
5455+
"\n\n" + summary.wrap("pre", summary.wrap("code", code)),
54565456
);
54575457
}
54585458

‎package-lock.json‎

Lines changed: 6 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
},
2727
"devDependencies": {
2828
"@vercel/ncc": "^0.36",
29-
"prettier": "^2.8"
29+
"prettier": "^3.8"
3030
}
3131
}

‎src/main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async function main(inputs) {
1111
const { isEmpty, generator } = await checkAsyncGeneratorEmpty(xmls);
1212
if (isEmpty && inputs.failOnEmpty) {
1313
gha.setFailed(
14-
"No JUnit XML file was found. Set `fail-on-empty: false` if that is a valid use case"
14+
"No JUnit XML file was found. Set `fail-on-empty: false` if that is a valid use case",
1515
);
1616
}
1717
xmls = generator;

‎src/results.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const resultTypes = [
1818
const resultTypesWithEmoji = zip(
1919
resultTypes,
2020
["green", "yellow", "yellow", "red", "red", "red"].map(
21-
(color) => `:${color}_circle:`
22-
)
21+
(color) => `:${color}_circle:`,
22+
),
2323
);
2424

2525
async function postResults(xmls, inputs) {
@@ -120,7 +120,7 @@ async function addResults(results, title, summary, displayOptions) {
120120
addDetailsWithCodeBlock(
121121
gha.summary,
122122
gha.summary.wrap("code", result.id),
123-
result.msg
123+
result.msg,
124124
);
125125
} else {
126126
gha.summary.addRaw(`\n:heavy_check_mark: ${result.id}`, true);
@@ -132,7 +132,7 @@ async function addResults(results, title, summary, displayOptions) {
132132
function addSummary(results) {
133133
gha.summary.addRaw(
134134
`Ran ${results.total_tests} tests in ${prettyDuration(results.total_time)}`,
135-
true
135+
true,
136136
);
137137

138138
var rows = [["Result", "Amount"]];
@@ -179,6 +179,6 @@ function getResultTypesFromDisplayOptions(displayOptions) {
179179
function addDetailsWithCodeBlock(summary, label, code) {
180180
return summary.addDetails(
181181
label,
182-
"\n\n" + summary.wrap("pre", summary.wrap("code", code))
182+
"\n\n" + summary.wrap("pre", summary.wrap("code", code)),
183183
);
184184
}

0 commit comments

Comments
 (0)