Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Delint resolvers.

  • Loading branch information...
commit 9b60d8bb548d197447ca9fd919837aa9e952c56d 1 parent c8fd4de
@jaredhanson authored
View
2  Makefile
@@ -1,4 +1,4 @@
-SOURCES ?= lib/*.js lib/**/*.js
+SOURCES ?= lib/*.js lib/**/*.js lib/cli/**/*.js lib/helpers/**/*.js lib/resolvers/**/*.js
TESTS ?= test/*.test.js test/**/*.test.js test/helpers/**/*.test.js
test: test-mocha
View
4 lib/resolvers/any/snakecase.js
@@ -14,5 +14,5 @@ module.exports = function() {
return function(id) {
return underscore(id);
- }
-}
+ };
+};
View
8 lib/resolvers/node/controller.js
@@ -28,7 +28,7 @@ var scripts = require('scripts')
*/
module.exports = function(options) {
if ('string' == typeof options) {
- options = { dirname: options }
+ options = { dirname: options };
}
options = options || {};
var dirname = options.dirname || 'app/controllers'
@@ -46,9 +46,9 @@ module.exports = function(options) {
// away redundant file exists checks.
for (var i = 0, len = cands.length; i < len; ++i) {
- aid = path.join(dir, cands[i])
+ aid = path.join(dir, cands[i]);
script = scripts.resolve(aid, extensions);
if (existsSync(script)) { return script; }
}
- }
-}
+ };
+};
Please sign in to comment.
Something went wrong with that request. Please try again.