File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
heft-plugins/heft-lint-plugin/src Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -154,9 +154,7 @@ export class Eslint extends LinterBase<TEslint.ESLint.LintResult> {
154
154
// Map the fix messages to the results. This API should only return one result per file, so we can be sure
155
155
// that the fix messages belong to the returned result. If we somehow receive multiple results, we will
156
156
// drop the messages on the floor, but since they are only used for logging, this should not be a problem.
157
- const fixMessages : TEslint . Linter . LintMessage [ ] = this . _currentFixMessages . splice (
158
- 0
159
- ) ;
157
+ const fixMessages : TEslint . Linter . LintMessage [ ] = this . _currentFixMessages . splice ( 0 ) ;
160
158
if ( lintResults . length === 1 ) {
161
159
this . _fixMessagesByResult . set ( lintResults [ 0 ] , fixMessages ) ;
162
160
}
You can’t perform that action at this time.
0 commit comments