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(
142142 }
143143 } else {
144144 dataWithContext = getTextWithContext ( processedData , currentContext ) ;
145- if ( stderr ) {
146- dataWithContext [ SEVERITY ] = 'ERROR' ;
147- }
148145 }
149146
150147 return JSON . stringify ( dataWithContext ) + '\n' ;
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ describe('getModifiedData', () => {
135135 const modifiedData = getModifiedData ( sampleText , undefined , true ) ;
136136 const expectedOutput =
137137 JSON . stringify (
138- Object . assign ( JSON . parse ( expectedTextOutput ) , { severity : 'ERROR' } )
138+ Object . assign ( JSON . parse ( expectedTextOutput ) )
139139 ) + '\n' ;
140140 assert . equal ( modifiedData , expectedOutput ) ;
141141 } ) ;
You can’t perform that action at this time.
0 commit comments