Skip to content

Commit 3fe7dd1

Browse files
authored
Merge pull request #71 from browserstack/node-env-fix
Adding the patch version in user-agent and fixing the node_env issue
2 parents 3aec970 + 6fcfedf commit 3fe7dd1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/helpers/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var config = require('./config.json');
22

3-
config.env = process.env.NODE_ENV || "production";
3+
config.env = process.env.BSTACK_CYPRESS_NODE_ENV || "production";
44

55
if(config.env !== "production") {
66
// load config based on env

bin/helpers/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ exports.isParallelValid = (value) => {
219219
}
220220

221221
exports.getUserAgent = () => {
222-
return `BStack-Cypress-CLI/1.5.0 (${os.arch()}/${os.platform()}/${os.release()})`;
222+
return `BStack-Cypress-CLI/1.5.1 (${os.arch()}/${os.platform()}/${os.release()})`;
223223
};
224224

225225
exports.isAbsolute = (configPath) => {

0 commit comments

Comments
 (0)