Skip to content

Commit e01f2ba

Browse files
author
Jonathan Felchlin
committed
Ensuring browsers used list is accurate
1 parent b68123c commit e01f2ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,6 @@ var DetectBrowsers = function (config, logger) {
115115
availableBrowsers.push('PhantomJS');
116116
}
117117

118-
log.info('The following browsers will be used:', availableBrowsers);
119-
120118
if (config.detectBrowsers.postDetection && typeof config.detectBrowsers.postDetection === 'function') {
121119
//Add specific process to manage browsers list
122120
availableBrowsers = config.detectBrowsers.postDetection(availableBrowsers);
@@ -130,6 +128,7 @@ var DetectBrowsers = function (config, logger) {
130128
})
131129
);
132130
}
131+
log.info('The following browsers will be used:', config.browsers);
133132
} else {
134133
log.warn('No browsers were detected. The browsers of the browsers array are used.');
135134
}

0 commit comments

Comments
 (0)