@cryptotaxi247 / netdata-1 / commits / 2ecc0ab66

Fix replacement of whitespace for versions retrieved from github (#5355)

Chris Akritidis committed Feb 8, 2019 at 12:24 UTC 2ecc0ab663a9a69ae1c836dea1e38aeba003350b
1 file changed +1 -1
web/gui/main.js
+1 -1
@@ -2847,7 +2847,7 @@ function getGithubLatestVersion(callback) {
2847 cache: false
2848 })
2849 .done(function (data) {
2850 - data = atob(data.content.replace(/(\r\n|\n|\r| |\t)/gm, ""));
2850 + data = atob(data.content).replace(/(\r\n|\n|\r| |\t)/gm, "");
2851 versionLog('Latest version from github is ' + data);
2852 callback(data);
2853 })