Skip to content

Commit 4be0599

Browse files
committed
Don't print newline after printing browser version
1 parent b26a0af commit 4be0599

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/testSelenium.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ suite('selenium', function() {
166166

167167
try {
168168
console.log('Using Firefox: ' + firefoxStableBinaryPath);
169-
console.log('Version: ' + childProcess.execSync(firefoxStableBinaryPath + ' --version'));
170-
console.log('Beta Version: ' + childProcess.execSync(firefoxBetaBinaryPath + ' --version'));
171-
console.log('Aurora Version: ' + childProcess.execSync(firefoxAuroraBinaryPath + ' --version'));
169+
console.log('Version: ' + childProcess.execSync(firefoxStableBinaryPath + ' --version').replace('\n', ''));
170+
console.log('Beta Version: ' + childProcess.execSync(firefoxBetaBinaryPath + ' --version').replace('\n', ''));
171+
console.log('Aurora Version: ' + childProcess.execSync(firefoxAuroraBinaryPath + ' --version').replace('\n', ''));
172172
} catch (e) {}
173173

174174
if (process.env.GCM_API_KEY && !fs.existsSync(chromeBinaryPath)) {
@@ -177,7 +177,7 @@ suite('selenium', function() {
177177

178178
try {
179179
console.log('Using Chromium: ' + chromeBinaryPath);
180-
console.log('Version: ' + childProcess.execSync(chromeBinaryPath + ' --version'));
180+
console.log('Version: ' + childProcess.execSync(chromeBinaryPath + ' --version').replace('\n', ''));
181181
} catch (e) {}
182182
});
183183
});

0 commit comments

Comments
 (0)