Skip to content

Commit 9bb6d38

Browse files
committed
changed util to utils
1 parent 5fcea8c commit 9bb6d38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/helpers/capabilityHelper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const logger = require("./logger").winstonLogger,
22
Constants = require("./constants"),
3-
Util = require("./util");
3+
Utils = require("./utils");
44

55
const caps = (bsConfig, zip) => {
66
return new Promise(function (resolve, reject) {
@@ -96,11 +96,11 @@ const validate = (bsConfig, args) => {
9696
if (!bsConfig.run_settings.cypress_proj_dir) reject(Constants.validationMessages.EMPTY_SPEC_FILES);
9797

9898
// validate parallels specified in browserstack.json if parallels are not specified via arguments
99-
if (Util.isUndefined(args.parallels) && !Util.isParallelValid(bsConfig.run_settings.parallels)) {
99+
if (Utils.isUndefined(args.parallels) && !Utils.isParallelValid(bsConfig.run_settings.parallels)) {
100100
reject(Constants.validationMessages.INVALID_PARALLES_CONFIGURATION);
101101
}
102102
// if parallels specified via arguments validate both parallels specifed in browserstack.json and parallels specified in arguments
103-
if (!Util.isUndefined(args.parallels) && !Util.isParallelValid(args.parallels)) reject(Constants.validationMessages.INVALID_PARALLES_CONFIGURATION);
103+
if (!Utils.isUndefined(args.parallels) && !Utils.isParallelValid(args.parallels)) reject(Constants.validationMessages.INVALID_PARALLES_CONFIGURATION);
104104

105105

106106
if (!args.parallels) {

0 commit comments

Comments
 (0)