Skip to content

Commit 7519550

Browse files
authored
Merge pull request #106 from browserstack/adding-cypress-version-to-stats
Adding cypress_version to data
2 parents 3ee506c + 561c972 commit 7519550

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bin/helpers/usageReporting.js

+4
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ function send(args) {
174174

175175
let bsConfig = args.bstack_config;
176176
let cli_details = cli_version_and_path(bsConfig);
177+
let data = {
178+
cypress_version: bsConfig.run_settings.cypress_version
179+
};
177180

178181
delete args.bstack_config;
179182

@@ -190,6 +193,7 @@ function send(args) {
190193
local_cypress_version: local_cypress_version(bsConfig),
191194
ci_environment: ci_environment(),
192195
event_timestamp: new Date().toLocaleString(),
196+
data: JSON.stringify(data),
193197
...args,
194198
},
195199
};

0 commit comments

Comments
 (0)