@mablhq/mabl-cli 1.31.11 → 1.32.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,7 @@ function registerConsoleLoggerForOutput(eventEmitter) {
21
21
  eventEmitter
22
22
  .getOutputEventChannel()
23
23
  .on(messaging_1.EventChannelMessageType.outputLogLine, (line, timestamp, color, metadata) => {
24
+ var _a;
24
25
  const formatted = color ? chalk_1.default[color](line) : line;
25
26
  if ((metadata === null || metadata === void 0 ? void 0 : metadata.shouldOutputInConsole) === false) {
26
27
  return;
@@ -30,7 +31,8 @@ function registerConsoleLoggerForOutput(eventEmitter) {
30
31
  formattedTimestamp = `${moment
31
32
  .unix(timestamp / 1000)
32
33
  .format('LTS')} - `;
33
- loggingProvider_1.logger.info(`${chalk_1.default.yellow(formattedTimestamp)}${formatted}`);
34
+ const stepNumberPrefix = (_a = metadata === null || metadata === void 0 ? void 0 : metadata.stepNumberPrefix) !== null && _a !== void 0 ? _a : '';
35
+ loggingProvider_1.logger.info(`${chalk_1.default.yellow(formattedTimestamp)}${stepNumberPrefix}${formatted}`);
34
36
  }
35
37
  else {
36
38
  loggingProvider_1.logger.info(formatted);