File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ class API {
4242 : { } ;
4343 this . _compression =
4444 props &&
45- ( typeof props . compression === 'boolean' ||
46- Array . isArray ( props . compression ) )
45+ ( typeof props . compression === 'boolean' ||
46+ Array . isArray ( props . compression ) )
4747 ? props . compression
4848 : false ;
4949
@@ -84,7 +84,7 @@ class API {
8484 this . _app = { } ;
8585
8686 // Executed after the callback
87- this . _finally = ( ) => { } ;
87+ this . _finally = ( ) => { } ;
8888
8989 // Global error status (used for response parsing errors)
9090 this . _errorStatus = 500 ;
@@ -213,8 +213,8 @@ class API {
213213 stack : _stack [ 'm' ] [ method ]
214214 ? _stack [ 'm' ] [ method ] . concat ( stack )
215215 : _stack [ '*' ] [ method ]
216- ? _stack [ '*' ] [ method ] . concat ( stack )
217- : stack ,
216+ ? _stack [ '*' ] [ method ] . concat ( stack )
217+ : stack ,
218218 // inherited: _stack[method] ? _stack[method] : [],
219219 route : '/' + parsedPath . join ( '/' ) ,
220220 path : '/' + this . _prefix . concat ( parsedPath ) . join ( '/' ) ,
@@ -453,8 +453,8 @@ class API {
453453 typeof args [ 0 ] === 'string'
454454 ? Array . of ( args . shift ( ) )
455455 : Array . isArray ( args [ 0 ] )
456- ? args . shift ( )
457- : [ '/*' ] ;
456+ ? args . shift ( )
457+ : [ '/*' ] ;
458458
459459 // Init middleware stack
460460 let middleware = [ ] ;
You can’t perform that action at this time.
0 commit comments