We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d438e44 commit 91393fdCopy full SHA for 91393fd
routes/router.js
@@ -21,8 +21,7 @@ class Router {
21
if (stat.isDirectory()) {
22
//Recursively walk-through folders
23
this.load(app, fullName);
24
- }
25
- else if (file.toLowerCase().indexOf('.js')) {
+ } else if (file.toLowerCase().indexOf('.js')) {
26
//Grab path to JavaScript file and use it to construct the route
27
let dirs = path.dirname(fullName).split(path.sep);
28
0 commit comments