Skip to content

Commit d74d8fd

Browse files
Removing logBuilddetails
1 parent b2ff2c1 commit d74d8fd

File tree

3 files changed

+2
-78
lines changed

3 files changed

+2
-78
lines changed

bin/commands/runs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ module.exports = function run(args) {
4848

4949
// Validate browserstack.json values and parallels specified via arguments
5050
return capabilityHelper.validate(bsConfig, args).then(function (validated) {
51-
// logger.info(validated);
5251

5352
// accept the number of parallels
5453
utils.setParallels(bsConfig, args);

bin/helpers/syncRunner.js

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,18 @@
11
'use strict';
2-
const Config = require("./config"),
3-
logger = require("./logger").syncCliLogger,
4-
Constants = require("./constants"),
5-
utils = require("./utils"),
6-
request = require('request'),
7-
syncSpecsLogs = require('./sync/syncSpecsLogs'),
2+
const syncSpecsLogs = require('./sync/syncSpecsLogs'),
83
specDetails = require('./sync/failedSpecsDetails'),
9-
specsSummary = require('./sync/specsSummary'),
10-
{ table, getBorderCharacters } = require('table'),
11-
chalk = require('chalk');
4+
specsSummary = require('./sync/specsSummary');
125

136
exports.pollBuildStatus = (bsConfig, buildDetails) => {
147
return new Promise((resolve, reject) => {
15-
//logBuildDetails(bsConfig, buildDetails);
168
syncSpecsLogs.printSpecsStatus(bsConfig, buildDetails).then((data) => {
179
return specDetails.failedSpecsDetails(data);
18-
// return specsSummary.printSpecsRunSummary(data.specs, data.duration, buildDetails.machines);
1910
}).then((data) => {
2011
return specsSummary.printSpecsRunSummary(data, buildDetails.machines);
21-
// return specDetails.failedSpecsDetails(data);
2212
}).then((successExitCode) => {
2313
resolve(successExitCode); // exit code 0
2414
}).catch((nonZeroExitCode) => {
2515
resolve(nonZeroExitCode); // exit code 1
2616
})
2717
});
2818
};
29-
30-
let logBuildDetails = (bsConfig, buildDetails) => {
31-
let parallels_enabled = false;
32-
if (bsConfig.run_settings.parallels) {
33-
parallels_enabled = true;
34-
}
35-
let parallelMessage = `Run in parallel: ${parallels_enabled ? 'enabled' : 'disabled'}`;
36-
if (parallels_enabled) parallelMessage = parallelMessage + ` (attempting to run on ${buildDetails.machines} machines)`;
37-
38-
logger.info(`Browser Combinations: ${buildDetails.combinations}`);
39-
logger.info(parallelMessage);
40-
logger.info(`BrowserStack Dashboard: ${buildDetails.dashboard_url}`);
41-
};

test/unit/bin/helpers/syncRunner.js

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)