From e646ae76a714b5eb02808c6795ca43cdd24e1fc7 Mon Sep 17 00:00:00 2001 From: nagpalkaran95 Date: Tue, 12 May 2020 14:26:43 +0530 Subject: [PATCH] update user-agent --- bin/helpers/util.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/helpers/util.js b/bin/helpers/util.js index 252d0cb3..8128f9f2 100644 --- a/bin/helpers/util.js +++ b/bin/helpers/util.js @@ -1,4 +1,6 @@ 'use strict'; +const os = require("os"); + const usageReporting = require('./usageReporting'), logger = require('./logger').winstonLogger, Constants = require('./constants'); @@ -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()})`; }