Permalink
Browse files

fix(constructor): fix entityPath resolution

  • Loading branch information...
ppvg committed Oct 29, 2016
1 parent 2b1dfd4 commit e87fb8ec1adedd7a5c38737f0eef90859cdef87b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Wetland.ts
@@ -82,7 +82,7 @@ export class Wetland {
.filter(match => match.search(/\.js$/) > -1)
.map(entity => entity.replace(/\.js$/, ''))
.forEach(entity => {
let filePath = path.join(entityPath, entity);
let filePath = path.resolve(entityPath, entity);
let ToRegister = require(filePath);
if (typeof ToRegister !== 'function') {

0 comments on commit e87fb8e

Please sign in to comment.