File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,6 @@ export function getModifiedData(
142
142
}
143
143
} else {
144
144
dataWithContext = getTextWithContext ( processedData , currentContext ) ;
145
- if ( stderr ) {
146
- dataWithContext [ SEVERITY ] = 'ERROR' ;
147
- }
148
145
}
149
146
150
147
return JSON . stringify ( dataWithContext ) + '\n' ;
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ describe('getModifiedData', () => {
135
135
const modifiedData = getModifiedData ( sampleText , undefined , true ) ;
136
136
const expectedOutput =
137
137
JSON . stringify (
138
- Object . assign ( JSON . parse ( expectedTextOutput ) , { severity : 'ERROR' } )
138
+ Object . assign ( JSON . parse ( expectedTextOutput ) )
139
139
) + '\n' ;
140
140
assert . equal ( modifiedData , expectedOutput ) ;
141
141
} ) ;
You can’t perform that action at this time.
0 commit comments