Permalink
Browse files

removed a weird return

  • Loading branch information...
tj committed Apr 25, 2012
1 parent 9ff054a commit 991868ab1550a491166d47fe28178ea3077da7a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/utils.js
View
@@ -280,7 +280,7 @@ exports.lookupView = function(view, fn){
path = join(dirname(path), basename(path, view.ext), 'index' + view.ext);
exists(path, function(yes){
if (yes) return fn(null, path);
- return fn(new Error('Failed to lookup view "' + view.name + '"'));
+ fn(new Error('Failed to lookup view "' + view.name + '"'));
});
});
};

0 comments on commit 991868a

Please sign in to comment.