Skip to content

Commit

Permalink
Merge pull request #580 from hochang/master
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
hochang committed Feb 26, 2013
2 parents d02d79b + 8c0626f commit d2f759b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/engine/lib/udfs/standard.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ exports.require = function() {
var splitpath = process.cwd().split('/');
splitpath[splitpath.length-1] = name;
args[0] = splitpath.join('/');
return module.require.a
pply(null, args);
return module.require.apply(null, args);

} catch(e) {
args[0] = __dirname + '/' + name;
Expand Down

0 comments on commit d2f759b

Please sign in to comment.