Skip to content

Commit

Permalink
Revert "Ensure results is always an array"
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-napoleone committed Jul 10, 2018
1 parent 15839fd commit c2f01a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ Node.prototype.getHistory = function (range)
var self = this;

var history = [];
var interv = [];
var interv = {};

console.time('=H=', 'his', 'Got history in');

Expand All @@ -607,7 +607,7 @@ Node.prototype.getHistory = function (range)
if (err) {
console.error('his', 'history fetch failed:', err);

results = [];
results = false;
}
else
{
Expand Down

0 comments on commit c2f01a8

Please sign in to comment.