Skip to content
Permalink
Browse files

Revert "Ensure `results` is always an array"

  • Loading branch information...
etienne-napoleone committed Jul 10, 2018
1 parent 15839fd commit c2f01a8ce84a55e8cc37036eee43583af1155d54
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/node.js
@@ -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');

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

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

0 comments on commit c2f01a8

Please sign in to comment.
You can’t perform that action at this time.