Skip to content

Commit e17014f

Browse files
committed
❇️ added color to timezone message
1 parent e853041 commit e17014f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/helpers/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ exports.setTimezone = (bsConfig, args) => {
409409
timezone = args.timezone;
410410
} else {
411411
logger.error(`Invalid timezone = ${args.timezone}`);
412-
syncCliLogger.info(Constants.userMessages.INVALID_TIMEZONE);
412+
syncCliLogger.info(chalk.red(Constants.userMessages.INVALID_TIMEZONE));
413413
process.exit(1);
414414
}
415415
}
@@ -418,7 +418,7 @@ exports.setTimezone = (bsConfig, args) => {
418418
timezone = bsConfig.run_settings.timezone;
419419
} else {
420420
logger.error(`Invalid timezone = ${bsConfig.run_settings.timezone}`);
421-
syncCliLogger.info(Constants.userMessages.INVALID_TIMEZONE);
421+
syncCliLogger.info(chalk.red(Constants.userMessages.INVALID_TIMEZONE));
422422
process.exit(1);
423423
}
424424
}

0 commit comments

Comments
 (0)