Skip to content

Commit a34c450

Browse files
D4N14Ldmichon-msft
andauthored
Update heft-plugins/heft-lint-plugin/src/Eslint.ts
Co-authored-by: David Michon <[email protected]>
1 parent e043ac7 commit a34c450

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

heft-plugins/heft-lint-plugin/src/Eslint.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ export class Eslint extends LinterBase<TEslint.ESLint.LintResult> {
155155
// that the fix messages belong to the returned result. If we somehow receive multiple results, we will
156156
// drop the messages on the floor, but since they are only used for logging, this should not be a problem.
157157
const fixMessages: TEslint.Linter.LintMessage[] = this._currentFixMessages.splice(
158-
0,
159-
this._currentFixMessages.length
158+
0
160159
);
161160
if (lintResults.length === 1) {
162161
this._fixMessagesByResult.set(lintResults[0], fixMessages);

0 commit comments

Comments
 (0)