Skip to content

Commit

Permalink
Merge b4b0f9c into f5368d1
Browse files Browse the repository at this point in the history
  • Loading branch information
davewasmer committed Jan 31, 2014
2 parents f5368d1 + b4b0f9c commit 7c9b21a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/gulp.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ function findLocalGulp(gulpFile){

function findLocalModule(modName, baseDir){
try {
return require(resolve.sync(modName, {basedir: baseDir}));
var mod = require(resolve.sync(modName, {basedir: baseDir}));
if (modName === 'coffee-script' && mod.VERSION >= '1.7.0') {
mod.register();
}
return mod;
} catch(e) {}
return;
}
Expand Down

0 comments on commit 7c9b21a

Please sign in to comment.