From 06f3cc706950033378812b1483baaac41e69624c Mon Sep 17 00:00:00 2001 From: utkarshcmu Date: Sun, 15 Oct 2017 05:13:28 -0700 Subject: [PATCH] Fixed failing tests --- src/remote/grafana.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/grafana.js b/src/remote/grafana.js index 72a9388..8579b2d 100644 --- a/src/remote/grafana.js +++ b/src/remote/grafana.js @@ -25,7 +25,7 @@ function Grafana(conf, comps) { } } if (conf.grafana.url) { - if (conf.grafana.url.slice(-1) == "/") { + if (conf.grafana.url.slice(-1) === "/") { conf.grafana.url = conf.grafana.url.slice(0,-1); } this.grafanaUrl = conf.grafana.url;