Skip to content

Commit

Permalink
Debug output eslint report
Browse files Browse the repository at this point in the history
  • Loading branch information
sheck committed May 18, 2023
1 parent ba13576 commit c366861
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ async function runEslint () {
? await gatherReportForEslintSevenOrGreater(paths)
: gatherReportForEslintSixOrLower(paths)

core.debug(`Raw report from eslint: ${JSON.stringify(report, null, 2)}`)

const { results, errorCount, warningCount } = report

const levels = ['', 'warning', 'failure']
Expand Down

0 comments on commit c366861

Please sign in to comment.