@ray-js/robot-data-stream 0.0.10-beta-3 → 0.0.10-beta-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/sweeperP2p.js +1 -1
- package/package.json +1 -1
package/lib/api/sweeperP2p.js
CHANGED
|
@@ -404,7 +404,7 @@ export class SweeperP2p extends P2pApi {
|
|
|
404
404
|
let [index, data] = _ref;
|
|
405
405
|
return data;
|
|
406
406
|
}).join('');
|
|
407
|
-
if (this.firstPackageTime > 0) {
|
|
407
|
+
if (this.firstPackageTime > 0 && fileName.indexOf('map') !== -1) {
|
|
408
408
|
const packageTime = Date.now() - this.firstPackageTime;
|
|
409
409
|
log4js.info(`receive first full package, cost time: ${packageTime} ms, fileName: ${fileName}, data: ${hexValue}`);
|
|
410
410
|
this.firstPackageTime = 0;
|