From f243dc8d7527cde3d5b5a4f6e659cf7604f5ae2a Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Thu, 21 Oct 2021 14:12:12 +0200 Subject: :sparkles: Make all variable-types changeable from both home and editor --- src/SelfUpdater/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SelfUpdater/index.js') diff --git a/src/SelfUpdater/index.js b/src/SelfUpdater/index.js index 19ff4c2..cc4e298 100644 --- a/src/SelfUpdater/index.js +++ b/src/SelfUpdater/index.js @@ -283,11 +283,11 @@ class SelfUpdater { this.remotePackageJSON = JSON.parse(body); this.remoteVersionNumber = this.remotePackageJSON["version"]; if (this.localVersionNumber != this.remoteVersionNumber) { - logger.notice("A new version is available on \"" + this.repoBranch + "\" (v" + this.version + ")"); + logger.notice("A new version is available on \"" + this.branch + "\" (v" + this.remoteVersionNumber + ")"); this.newVersion = true; } else { - logger.info(`Running newest version (${this.newestVersion})`); + logger.info(`Running newest version (${this.localVersionNumber})`); this.newVersion = false; } } else { -- cgit v1.2.3