Browse Source

Fix condition

master
Tony Kovanen 9 years ago
parent
commit
3035f8de11
  1. 2
      lib/index.js

2
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);

Loading…
Cancel
Save