Skip to content

Commit 91393fd

Browse files
Dan WahlinDan Wahlin
Dan Wahlin
authored and
Dan Wahlin
committed
Formatting
1 parent d438e44 commit 91393fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

routes/router.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ class Router {
2121
if (stat.isDirectory()) {
2222
//Recursively walk-through folders
2323
this.load(app, fullName);
24-
}
25-
else if (file.toLowerCase().indexOf('.js')) {
24+
} else if (file.toLowerCase().indexOf('.js')) {
2625
//Grab path to JavaScript file and use it to construct the route
2726
let dirs = path.dirname(fullName).split(path.sep);
2827

0 commit comments

Comments
 (0)