Skip to content

Commit

Permalink
fix test case's expired data
Browse files Browse the repository at this point in the history
  • Loading branch information
hochang committed Feb 26, 2013
1 parent 062bc12 commit 8c0626f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/engine/lib/udfs/standard.js
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 8c0626f

Please sign in to comment.