Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Fixed failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarshcmu committed Oct 15, 2017
1 parent 472e9c6 commit 06f3cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote/grafana.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 06f3cc7

Please # to comment.