File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -183,25 +183,21 @@ class ByteUnitObject {
183183 }
184184
185185 add ( bytes ) {
186- // eslint-disable-next-line no-underscore-dangle
187186 this . checkInternalByteVal ( bytes ) ;
188187 return new ByteUnitObject ( this . bytes + parseByteOrByteArray ( bytes ) . reduce ( ( a , v ) => a + v , 0 ) ) ;
189188 }
190189
191190 subtract ( bytes ) {
192- // eslint-disable-next-line no-underscore-dangle
193191 this . checkInternalByteVal ( bytes ) ;
194192 return new ByteUnitObject ( this . bytes - parseByteOrByteArray ( bytes ) . reduce ( ( a , v ) => a + v , 0 ) ) ;
195193 }
196194
197195 multiply ( bytes ) {
198- // eslint-disable-next-line no-underscore-dangle
199196 this . checkInternalByteVal ( bytes ) ;
200197 return new ByteUnitObject ( this . bytes * parseByteOrByteArray ( bytes ) . reduce ( ( a , v ) => a * v , 1 ) ) ;
201198 }
202199
203200 divide ( bytes ) {
204- // eslint-disable-next-line no-underscore-dangle
205201 this . checkInternalByteVal ( bytes ) ;
206202 return new ByteUnitObject ( this . bytes / parseByteOrByteArray ( bytes ) . reduce ( ( a , v ) => a * v , 1 ) ) ;
207203 }
You can’t perform that action at this time.
0 commit comments