function addLocalGulpTasks(subfile, submodule, tasks) {

    var gulpMod = findModule(function(mod) {
        return (path.basename(path.dirname(mod.id)) === 'gulp');
    }, submodule);

    var localInst = gulpMod.exports;

    // copy all the tasks over
    for (var name in localInst.tasks) {
        if (localInst.tasks.hasOwnProperty(name)) {
            var task = localInst.tasks[name];

            if (!task.__hubadded) {
                task.__hubadded = true;
                addSubtask(subfile, tasks, task.name, task.dep, task.fn);
            }
        }
    }
}
function addLocalGulpTasks(subfile, submodule, tasks) {

    var gulpMod = findModule(function(mod) {
        return (path.basename(path.dirname(mod.id)) === 'gulp');
    }, submodule);

    var localInst = gulpMod.exports;

    
    for (var name in localInst.tasks) {
        if (localInst.tasks.hasOwnProperty(name)) {
            var task = localInst.tasks[name];

            if (!task.__hubadded) {
                task.__hubadded = true;
                addSubtask(subfile, tasks, task.name, task.dep, task.fn);
            }
        }
    }
}
function addLocalGulpTasks ( subfile , submodule , tasks ) { var gulpMod = findModule ( function ( mod ) { return ( path . basename ( path . dirname ( mod . id ) ) === 'gulp' ) ; } , submodule ) ; var localInst = gulpMod . exports ; // copy all the tasks over for ( var name in localInst . tasks ) { if ( localInst . tasks . hasOwnProperty ( name ) ) { var task = localInst . tasks [ name ] ; if ( ! task . __hubadded ) { task . __hubadded = true ; addSubtask ( subfile , tasks , task . name , task . dep , task . fn ) ; } } } }
I see trouble ahead...
I see trouble ahead ...