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 8f8d5af commit eb05335Copy full SHA for eb05335
bin/helpers/utils.js
@@ -390,12 +390,7 @@ exports.setSpecTimeout = (bsConfig, args) => {
390
logger.debug(`Setting spec timeout = ${specTimeout}`);
391
}
392
393
-exports.isValidTimezone = (timezone) => {
394
- if(!this.isUndefined(timezone) && !this.isUndefined(TIMEZONE[timezone])) {
395
- return true;
396
- }
397
- return false;
398
-}
+exports.isValidTimezone = (timezone) => !this.isUndefined(timezone) && !this.isUndefined(TIMEZONE[timezone])
399
400
exports.setTimezone = (bsConfig, args) => {
401
let timezone = args.timezone || bsConfig.run_settings.timezone;
0 commit comments