Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Trim process.env.BLUEO_SELENIUM_SERVER_ADDR
Browse files Browse the repository at this point in the history
  • Loading branch information
tfennelly committed Sep 23, 2016
1 parent 8d4b0c0 commit fab5a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nightwatch.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = (function (settings) {
settings.test_settings.default.selenium_host = launchUrlObj.hostname;

if (process.env.BLUEO_SELENIUM_SERVER_ADDR) {
settings.test_settings.default.selenium_host = process.env.BLUEO_SELENIUM_SERVER_ADDR
settings.test_settings.default.selenium_host = process.env.BLUEO_SELENIUM_SERVER_ADDR.trim();
}

console.log('Jenkins running at: ' + settings.test_settings.default.launch_url);
Expand Down

0 comments on commit fab5a89

Please sign in to comment.