Skip to content

Commit 361e47a

Browse files
committed
Make the report more readable in the GitHub log as well.
1 parent c5deb45 commit 361e47a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lombiq.NodeJs.Extensions/scripts/eslint-msbuild-formatter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function formatter(results, beforeHandle) {
2222
notes.push('(An automatic fix is available with the ESLint CLI.)');
2323
}
2424

25+
message.filePath = filePath; // Make the report more readable in the GitHub log as well.
2526
const messageText = `${message.message} ${notes.join(' ')}\n${JSON.stringify(message)}\n` +
2627
new Error('ESLint call trace').stack.replace(/^Error: /, '');
2728

0 commit comments

Comments
 (0)