Comparing version 0.0.21 to 0.0.22
@@ -80,7 +80,7 @@ var chalk = require("chalk"); | ||
if (this.autoRange) { | ||
if (this.inputRange[0] === null || data < this.inputRange[0]) { | ||
if (isNaN(this.inputRange[0]) || data < this.inputRange[0]) { | ||
this.inputRange[0] = data; | ||
} | ||
if (this.inputRange[1] === null || data > this.inputRange[1]) { | ||
if (isNaN(this.inputRange[1]) || data > this.inputRange[1]) { | ||
this.inputRange[1] = data; | ||
@@ -87,0 +87,0 @@ } |
{ | ||
"name": "barcli", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "A simple tool for displaying real time bar graphs in the console", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
11448