express-route-builder
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -63,3 +63,5 @@ 'use strict'; | ||
if (!mResult) { | ||
throw new Error(`Middleware for static directory "${dir}" at index ${mIndex} should be a function and not "${mType}"!`); | ||
throw new Error( | ||
`Middleware for static directory "${dir}" at index ${mIndex} should be a function and not "${mType}"!` | ||
); | ||
} | ||
@@ -72,3 +74,3 @@ | ||
this.app.use.apply(null, args); | ||
this.app.use(...args); | ||
@@ -75,0 +77,0 @@ } |
@@ -10,3 +10,3 @@ { | ||
"name": "express-route-builder", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Quickly compile Express.js routes with minimal code.", | ||
@@ -13,0 +13,0 @@ "keywords": [ |
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
9324
138