We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a8bc60 commit 8f8d5afCopy full SHA for 8f8d5af
bin/helpers/utils.js
@@ -399,7 +399,7 @@ exports.isValidTimezone = (timezone) => {
399
400
exports.setTimezone = (bsConfig, args) => {
401
let timezone = args.timezone || bsConfig.run_settings.timezone;
402
- if(this.isUndefined(timezone) && !this.isValidTimezone(timezone)){
+ if(this.isUndefined(timezone) || !this.isValidTimezone(timezone)){
403
logger.error(`Invalid timezone = ${timezone}`);
404
syncCliLogger.info(chalk.red(Constants.userMessages.INVALID_TIMEZONE));
405
process.exit(1);
0 commit comments