diff --git a/lib/index.js b/lib/index.js index 3e87b77..308ef28 100644 --- a/lib/index.js +++ b/lib/index.js @@ -120,7 +120,7 @@ export default class Now extends EventEmitter { } get syncAmount () { - if (this._syncAmount) { + if (!this._syncAmount) { this._syncAmount = this._missing .map((sha) => Buffer.byteLength(this._files.get(sha).data)) .reduce((a, b) => a + b, 0);