File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,9 @@ export class RoutesListFormatter {
247
247
* Formats controller name for the ansi list and table
248
248
*/
249
249
#formatControllerName( route : SerializedRoute ) {
250
- return route . handler . type === 'controller' ? ` ${ route . handler . moduleNameOrPath } .` : ''
250
+ return route . handler . type === 'controller'
251
+ ? ` ${ this . #colors. cyan ( route . handler . moduleNameOrPath ) } .`
252
+ : ''
251
253
}
252
254
253
255
/**
@@ -260,7 +262,7 @@ export class RoutesListFormatter {
260
262
261
263
const functionName = ` ${ this . #colors. cyan ( route . handler . name ) } `
262
264
if ( route . handler . args ) {
263
- return ` ${ functionName } ( ${ route . handler . args } )`
265
+ return ` ${ functionName } ${ this . #colors . dim ( `( ${ route . handler . args } )` ) } `
264
266
}
265
267
266
268
return functionName
You can’t perform that action at this time.
0 commit comments