Skip to content

Commit 723454a

Browse files
committed
fix: Filter out FirefoxAurora and FirefoxNightly on linux
Closes litixsoft#25
1 parent 94c9766 commit 723454a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ var DetectBrowsers = function (config, logger) {
1818
browserNames = Object.keys(browsers),
1919
result = [];
2020

21+
// only use one firefox version on linux
22+
if (process.platform === 'linux') {
23+
browserNames = browserNames.filter(function (name) {
24+
return name !== 'firefoxAurora' && name !== 'firefoxNightly'
25+
});
26+
}
27+
2128
// iterate over all browsers in the browsers folder
2229
for (i = 0, length = browserNames.length; i < length; i++) {
2330
var browser = browsers[browserNames[i]],

0 commit comments

Comments
 (0)