Skip to content

Commit 56cc4d4

Browse files
author
Sergei Garin
committed
mode debug
1 parent be1894d commit 56cc4d4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56309,7 +56309,8 @@ async function eslintJsonReportToJs(reportFilesGlob) {
5630956309
const files = await globber.glob();
5631056310
const uniqueFiles = [...new Set(files)];
5631156311
// Log number of files found
56312-
core.debug(`Found ${files.length} ESLint report files to process`);
56312+
core.debug(`Found ${files.length} ESLint report files to process \n\n ${files.join('\n')}`);
56313+
core.debug(`Unique files: ${uniqueFiles.join('\n')}`);
5631356314
if (uniqueFiles.length === 0) {
5631456315
core.warning(`No ESLint report files found matching pattern: ${reportFilesGlob}`);
5631556316
return [];

src/eslintJsonReportToJs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ export default async function eslintJsonReportToJs(reportFilesGlob: string): Pro
5656
const uniqueFiles = [...new Set(files)]
5757

5858
// Log number of files found
59-
core.debug(`Found ${files.length} ESLint report files to process`)
59+
core.debug(`Found ${files.length} ESLint report files to process \n\n ${files.join('\n')}`)
60+
core.debug(`Unique files: ${uniqueFiles.join('\n')}`)
6061

6162
if (uniqueFiles.length === 0) {
6263
core.warning(`No ESLint report files found matching pattern: ${reportFilesGlob}`)

0 commit comments

Comments
 (0)