Skip to content

Commit

Permalink
fix(linter-crash): add missing file count increase on crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio committed Nov 8, 2020
1 parent 3154735 commit 74e75de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/engine/worker-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ export default async function workerTask(): Promise<void> {
const crashError = parseErrorStack(error, file);

results.push(crashError);
postMessage({ type: 'FILE_LINT_END', payload: index + 1 });
postMessage({
type: 'LINTER_CRASH',
payload: crashError.ruleId || '',
Expand Down

0 comments on commit 74e75de

Please sign in to comment.