From 10cd90e104ab22fbab22ce2e7197ad661d291fd7 Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Mon, 15 Apr 2024 11:13:16 -0700 Subject: [PATCH] Fixed after comment. --- packages/cli/src/managers/shell.manager.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/cli/src/managers/shell.manager.ts b/packages/cli/src/managers/shell.manager.ts index 8e5da686..5222b4cd 100644 --- a/packages/cli/src/managers/shell.manager.ts +++ b/packages/cli/src/managers/shell.manager.ts @@ -40,11 +40,7 @@ export class ShellManager { const start = new Date(); if(outputTimeBeforeExecutingCommand) { - if(outputStdout) { - this.consoleManager.writeLine(start.toISOString() + " - " + finalCommand); - } else { - this.consoleManager.writeLine(start.toISOString()); - } + this.consoleManager.writeLine(start.toISOString() + " - " + finalCommand); } else { outputStdout && this.consoleManager.writeLine(finalCommand); } @@ -101,4 +97,4 @@ export class ShellManager { }) }) } -} \ No newline at end of file +}