Skip to content

Commit

Permalink
update user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
nagpalkaran95 committed May 12, 2020
1 parent 67dd517 commit e646ae7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/helpers/util.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
'use strict';
const os = require("os");

const usageReporting = require('./usageReporting'),
logger = require('./logger').winstonLogger,
Constants = require('./constants');
Expand Down Expand Up @@ -69,5 +71,5 @@ exports.setUsageReportingFlag = (bsConfig, disableUsageReporting) => {
}

exports.getUserAgent = () => {
return `BStack-Cypress-CLI`;
return `BStack-Cypress-CLI/1.x (${os.arch()}/${os.platform()}/${os.release()})`;
}

0 comments on commit e646ae7

Please sign in to comment.