1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

Fix the remaining ESLint operator-assignment errors

This commit is contained in:
Jonas Jenwald 2021-07-04 11:55:33 +02:00
parent 901b24e8af
commit 819be0e78b
5 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@ class AsciiHexStream extends DecodeStream {
// Most streams increase in size when decoded, but AsciiHex streams shrink
// by 50%.
if (maybeLength) {
maybeLength = 0.5 * maybeLength;
maybeLength *= 0.5;
}
super(maybeLength);