mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 03:47:50 +00:00
Remove IIFE in test/saucelabs.js.
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
;(function() {
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
/** Environment shortcut */
|
/** Environment shortcut */
|
||||||
@@ -52,8 +51,7 @@
|
|||||||
var reError = /\berror\b/i;
|
var reError = /\berror\b/i;
|
||||||
|
|
||||||
/** Used to display the wait throbber */
|
/** Used to display the wait throbber */
|
||||||
var throbberId,
|
var throbberDelay = 500,
|
||||||
throbberDelay = 500,
|
|
||||||
waitCount = -1;
|
waitCount = -1;
|
||||||
|
|
||||||
/** Used as Sauce Labs config values */
|
/** Used as Sauce Labs config values */
|
||||||
@@ -457,11 +455,8 @@
|
|||||||
|
|
||||||
run(platforms, function(success) {
|
run(platforms, function(success) {
|
||||||
console.log('Shutting down Sauce Connect tunnel...');
|
console.log('Shutting down Sauce Connect tunnel...');
|
||||||
clearInterval(throbberId);
|
|
||||||
tunnel.stop(function() { process.exit(success ? 0 : 1); });
|
tunnel.stop(function() { process.exit(success ? 0 : 1); });
|
||||||
});
|
});
|
||||||
|
|
||||||
throbberId = setInterval(logThrobber, throbberDelay);
|
setInterval(logThrobber, throbberDelay);
|
||||||
logThrobber();
|
|
||||||
});
|
});
|
||||||
}());
|
|
||||||
|
|||||||
Reference in New Issue
Block a user