Skip to content

Commit 49c307b

Browse files
committed
- apply nit
- recompile dist
1 parent a1423d3 commit 49c307b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export async function run(): Promise<void> {
4040
const comment = core.getInput('comment') === 'true'
4141
const updateComment = core.getInput('updateComment') === 'true'
4242
const jobName = core.getInput('job_name')
43-
const disableCommentIfNoTests = core.getInput('skip_comment_without_tests') === 'true'
43+
const skipCommentWithoutTests = core.getInput('skip_comment_without_tests') === 'true'
4444

4545
const reportPaths = core.getMultilineInput('report_paths')
4646
const summary = core.getMultilineInput('summary')
@@ -202,7 +202,7 @@ export async function run(): Promise<void> {
202202
core.info('⏩ Skipped creation of job summary')
203203
}
204204

205-
if (comment && (!disableCommentIfNoTests || mergedResult.totalCount > 0)) {
205+
if (comment && (!skipCommentWithoutTests || mergedResult.totalCount > 0)) {
206206
const octokit: InstanceType<typeof GitHub> = github.getOctokit(token)
207207
await attachComment(octokit, checkName, updateComment, table, detailTable, flakyTable)
208208
}

0 commit comments

Comments
 (0)