Skip to content

Commit

Permalink
Refactor variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharanbrowserstack committed Dec 1, 2023
1 parent 4e36fdb commit a85992d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/helpers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ exports.setEnforceSettingsConfig = (bsConfig) => {
let specConfigs = bsConfig.run_settings.specs;
// if multiple specs are passed, convert it into an array.
if(specConfigs && specConfigs.includes(',')) {
specConfigs = JSON.stringify(bsConfig.run_settings.specs.split(','));
specConfigs = JSON.stringify(specConfigs.split(','));
}
let spec_pattern_args = 'specPattern="'+specConfigs+'"';
config_args = this.isUndefined(config_args) ? spec_pattern_args : config_args + ',' + spec_pattern_args;
Expand Down

0 comments on commit a85992d

Please sign in to comment.