|
@ -120,7 +120,7 @@ export default class Now extends EventEmitter { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
get syncAmount () { |
|
|
get syncAmount () { |
|
|
if (this._syncAmount) { |
|
|
if (!this._syncAmount) { |
|
|
this._syncAmount = this._missing |
|
|
this._syncAmount = this._missing |
|
|
.map((sha) => Buffer.byteLength(this._files.get(sha).data)) |
|
|
.map((sha) => Buffer.byteLength(this._files.get(sha).data)) |
|
|
.reduce((a, b) => a + b, 0); |
|
|
.reduce((a, b) => a + b, 0); |
|
|