1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +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

@ -21,7 +21,7 @@ class Ascii85Stream extends DecodeStream {
// Most streams increase in size when decoded, but Ascii85 streams
// typically shrink by ~20%.
if (maybeLength) {
maybeLength = 0.8 * maybeLength;
maybeLength *= 0.8;
}
super(maybeLength);