express-load
Advanced tools
Comparing version 1.1.13 to 1.1.14
@@ -71,3 +71,3 @@ /*! | ||
var loc = this.options.cwd ? this.options.cwd + '/' + location : location; | ||
var loc = this.options.cwd ? path.join(this.options.cwd, location) : location; | ||
var entity = this.__getEntity(loc); | ||
@@ -83,3 +83,3 @@ | ||
var allow = true | ||
, script = path.join(entity, dir[file]); | ||
, script = path.normalize(path.join(entity, dir[file])); | ||
@@ -118,3 +118,3 @@ if (dir[file].charAt(0) === '.') { | ||
fullpath: script, | ||
location: location + path.sep + name, | ||
location: path.join(location, name), | ||
name: name | ||
@@ -131,3 +131,3 @@ }); | ||
fullpath: entity, | ||
location: location + path.sep + name, | ||
location: path.join(location, name), | ||
name: name | ||
@@ -134,0 +134,0 @@ }); |
{ | ||
"name": "express-load", | ||
"description": "Autoload modules into an Express application instance, config, models, routes, controllers etc...", | ||
"version": "1.1.13", | ||
"version": "1.1.14", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Jarrad Seers", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20909