Comparing version 0.6.1 to 0.6.2
@@ -73,7 +73,5 @@ 'use strict'; | ||
const pathParts = controllerName.split(PATH_SEPARATOR); | ||
try { | ||
const subPath = path.join.apply(path, pathParts); | ||
const requiredModule = require(path.join(this.base, 'controllers', subPath)) | ||
_.set(ret, pathParts, requiredModule) | ||
} catch (e) {} | ||
const subPath = path.join.apply(path, pathParts); | ||
const requiredModule = require(path.join(this.base, 'controllers', subPath)) | ||
_.set(ret, pathParts, requiredModule) | ||
}) | ||
@@ -80,0 +78,0 @@ |
{ | ||
"name": "bay", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "The framework", | ||
@@ -5,0 +5,0 @@ "main": "application.js", |
49027
1635