index.js
function (cb) {
					if (argv.env === 'saucelabs-travis' || (argv.env === 'saucelabs-local' && argv['sauce-username'] && argv['sauce-access-key'])) {
						startSauceConnect(cb);
					} else {
						if (argv.env === 'saucelabs-local') {
							console.error([moment().format('HH:mm:ss:SSS')] + ' kne: You must specify --sauce-username and --sauce-access-key when using: --' + argv.env);
							cb(new Error('kne: You must specify --sauce-username and --sauce-access-key when using: --' + argv.env));
						} else {
							cb();
						}
					}
				}
function (cb) {
					if (argv.env === 'saucelabs-travis' || (argv.env === 'saucelabs-local' && argv['sauce-username'] && argv['sauce-access-key'])) {
						startSauceConnect(cb);
					} else {
						if (argv.env === 'saucelabs-local') {
							console.error([moment().format('HH:mm:ss:SSS')] + ' kne: You must specify --sauce-username and --sauce-access-key when using: --' + argv.env);
							cb(new Error('kne: You must specify --sauce-username and --sauce-access-key when using: --' + argv.env));
						} else {
							cb();
						}
					}
				}
function ( cb ) { if ( argv . env === 'saucelabs-travis' || ( argv . env === 'saucelabs-local' && argv [ 'sauce-username' ] && argv [ 'sauce-access-key' ] ) ) { startSauceConnect ( cb ) ; } else { if ( argv . env === 'saucelabs-local' ) { console . error ( [ moment ( ) . format ( 'HH:mm:ss:SSS' ) ] + ' kne: You must specify --sauce-username and --sauce-access-key when using: --' + argv . env ) ; cb ( new Error ( 'kne: You must specify --sauce-username and --sauce-access-key when using: --' + argv . env ) ) ; } else { cb ( ) ; } } }
The only environment that currently requires starting sauce connect is travis.
The only environment that currently requires starting sauce connect is travis .