Skip to content

Commit

Permalink
Update system.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RFS-ADRENO authored Aug 20, 2022
1 parent 1829467 commit be1e576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function booting(logger) {
delete client.db;

refreshState(api);
if (isGlitch !== true) startCLI(api);
if (isGlitch !== true) startxConsole(api);
client.config.REFRESH ? autoReloadApplication() : null;
resolve(api.listenMqtt(listen(api, db)));
})
Expand All @@ -65,7 +65,7 @@ function refreshState(api) {
}, _2HOUR);
}

function startCLI(api) {
function startxConsole(api) {
const rl = createInterface({
input: process.stdin,
output: process.stdout
Expand Down

0 comments on commit be1e576

Please sign in to comment.