diff --git a/packages/basic.gblib/services/ScheduleServices.ts b/packages/basic.gblib/services/ScheduleServices.ts index 185aa030..79d65327 100644 --- a/packages/basic.gblib/services/ScheduleServices.ts +++ b/packages/basic.gblib/services/ScheduleServices.ts @@ -124,7 +124,7 @@ export class ScheduleServices extends GBService { private ScheduleItem(item: GuaribasSchedule, min: GBMinInstance) { - GBLog.info(`Scheduling ${item.name} on ${min.botId}...`); + GBLog.info(`\nScheduling ${item.name} on ${min.botId}...`); try { const options = { scheduled: true, diff --git a/packages/core.gbapp/services/GBMinService.ts b/packages/core.gbapp/services/GBMinService.ts index a7dd8654..5965c1a5 100644 --- a/packages/core.gbapp/services/GBMinService.ts +++ b/packages/core.gbapp/services/GBMinService.ts @@ -172,7 +172,7 @@ export class GBMinService { // Calls mountBot event to all bots. const bar1 = new cliProgress.SingleBar({ - format: '[{bar}] Loading {botId} ({value}/{total})... .\n', barsize:60 + format: '[{bar}] Loading {botId} ({value}/{total})...', barsize:60 }, cliProgress.Presets.rect); let i = 0; bar1.start(100, i, {botId: "Boot"}); diff --git a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts index 5e35e709..f087f914 100644 --- a/packages/whatsapp.gblib/services/WhatsappDirectLine.ts +++ b/packages/whatsapp.gblib/services/WhatsappDirectLine.ts @@ -202,7 +202,7 @@ export class WhatsappDirectLine extends GBService { client.on('authenticated', async () => { this.browserWSEndpoint = client.pupBrowser.wsEndpoint(); - GBLog.info(`GBWhatsApp: QR Code authenticated for ${this.botId}.`); + GBLog.info(`\nGBWhatsApp: QR Code authenticated for ${this.botId}.`); }); client.on('ready', async () => { @@ -212,7 +212,7 @@ export class WhatsappDirectLine extends GBService { await (createClient.bind(this))(null); }).bind(this)); - GBLog.info(`GBWhatsApp: Emptying chat list for ${this.botId}...`); + GBLog.info(`\nGBWhatsApp: Emptying chat list for ${this.botId}...`); // Keeps the chat list cleaned.