File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,4 @@ export default function (cli: CLI) {
19
19
console . error ( 'Invalid command: %s' , cli . args . join ( ' ' ) )
20
20
process . exit ( 1 )
21
21
} )
22
-
23
- return cli
24
22
}
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ async function main() {
114
114
// console.error(`Expected a default export function in ${file}, but got:`, dynamicImport.default)
115
115
// }
116
116
117
- // const listenerImport = await import(p.commandsPath('Listener .ts'))
117
+ // const listenerImport = await import(p.listenersPath('Console .ts'))
118
118
// if (typeof listenerImport.default === 'function')
119
119
// listenerImport.default(buddy)
120
120
Original file line number Diff line number Diff line change @@ -242,6 +242,10 @@ export function lintPath(path?: string) {
242
242
return corePath ( `lint/${ path || '' } ` )
243
243
}
244
244
245
+ export function listenersPath ( path ?: string ) {
246
+ return appPath ( `Listeners/${ path || '' } ` )
247
+ }
248
+
245
249
export function eslintPath ( path ?: string ) {
246
250
return lintPath ( `eslint/${ path || '' } ` )
247
251
}
@@ -498,6 +502,7 @@ export const path = {
498
502
libsPath,
499
503
libraryEntryPath,
500
504
lintPath,
505
+ listenersPath,
501
506
loggingPath,
502
507
jobsPath,
503
508
modulesPath,
You can’t perform that action at this time.
0 commit comments