Skip to content

Commit

Permalink
fix(h5test): add port in deduplication for testenv
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinzZH authored Nov 1, 2018
1 parent 66a5f0d commit d850b5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/tsw/util/auto-report/TEReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,9 @@ this.list = function(group) {
if (group && v.group !== group) {
return;
}

if (!map[v.ip]) {
map[v.ip] = true;
const ipPort = v.ip + (v.port || '');
if (!map[ipPort]) {
map[ipPort] = true;
res.push(v);
}
});
Expand Down

0 comments on commit d850b5d

Please sign in to comment.