diff --git a/dist/index.js b/dist/index.js index 538ab90..00fdb7c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26207,6 +26207,7 @@ exports.detectChangedFilesInFolder = detectChangedFilesInFolder; "use strict"; +// TODO: exit-code-on-failure could have a better name var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -26309,6 +26310,7 @@ async function run() { } } run(); +// TODO: extract to it's own file class EslintResult { relevantWarningCount = 0; relevantErrorCount = 0; diff --git a/src/index.ts b/src/index.ts index e6fc9d1..5f6ac57 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,5 @@ +// TODO: exit-code-on-failure could have a better name + import * as core from "@actions/core" import { ChangeRange, @@ -125,6 +127,7 @@ type ResultObject = { messages: EslintMessage[] } type EslintResultInstance = InstanceType +// TODO: extract to it's own file class EslintResult { public relevantWarningCount: number = 0 public relevantErrorCount: number = 0