tasks/datadriver.js
function(result) {
                var callback = arguments[arguments.length - 1];

                if (!options.user && !options.key && !options.updateSauceJob) {
                    return callback(null, result);
                }

                grunt.log.debug('update job on Sauce Labs');
                var sauceAccount = new SauceLabs({
                    username: options.user,
                    password: options.key
                });

                sauceAccount.updateJob(sessionID, {
                    passed: result,
                    public: true
                }, next(callback, result));
            }
function(result) {
                var callback = arguments[arguments.length - 1];

                if (!options.user && !options.key && !options.updateSauceJob) {
                    return callback(null, result);
                }

                grunt.log.debug('update job on Sauce Labs');
                var sauceAccount = new SauceLabs({
                    username: options.user,
                    password: options.key
                });

                sauceAccount.updateJob(sessionID, {
                    passed: result,
                    public: true
                }, next(callback, result));
            }
function ( result ) { var callback = arguments [ arguments . length - 1 ] ; if ( ! options . user && ! options . key && ! options . updateSauceJob ) { return callback ( null , result ) ; } grunt . log . debug ( 'update job on Sauce Labs' ) ; var sauceAccount = new SauceLabs ( { username : options . user , password : options . key } ) ; sauceAccount . updateJob ( sessionID , { passed : result , public : true } , next ( callback , result ) ) ; }
update job on Sauce Labs
update job on Sauce Labs