Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JKTUNING committed Aug 31, 2023
1 parent ac942db commit 7ce5a95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/services/benchmarkUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function checkUpdateBenchmark() {
if (localVersion.error) return console.log(`Error checking local fluxbench version :: ${localVersion.msg}`);
localVersion = localVersion.msg;

if (compareVersion(remoteVersion,localVersion)) {
if (compareVersion(remoteVersion, localVersion)) {
console.log(`### Bench requires update ###`);
console.log(`Remote Bench version: ${remoteVersion}`);
console.log(`Local Bench version: ${localVersion}`);
Expand Down
4 changes: 2 additions & 2 deletions src/services/daemonUpdater.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ async function checkUpdateDaemon() {
let localVersion = await checkLocalDaemonVersion();
if (localVersion.error) return console.log(`Error checking local daemon version :: ${localVersion.msg}`);
localVersion = localVersion.msg;
if (compareVersion(remoteVersion,localVersion)) {

if (compareVersion(remoteVersion, localVersion)) {
console.log(`### Daemon requires update ###`);
//console.log(`Remote daemon version: ${remoteVersion}`);
//console.log(`Local daemon version: ${localVersion}`);
Expand Down
2 changes: 1 addition & 1 deletion src/services/selfUpgrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ async function checkSelfUpdate() {
localVersion = JSON.parse(localVersion.msg)?.version ?? 0;

// check if needs updated, if not then return
if (!compareVersion(currentVersion,localVersion)) {
if (!compareVersion(currentVersion, localVersion)) {
return;
}

Expand Down

0 comments on commit 7ce5a95

Please sign in to comment.