Skip to content

Commit 6aea68d

Browse files
committed
chore: wip
chore: wip
1 parent e4df67b commit 6aea68d

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

app/Commands/Listener.ts renamed to app/Listeners/Console.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ export default function (cli: CLI) {
1919
console.error('Invalid command: %s', cli.args.join(' '))
2020
process.exit(1)
2121
})
22-
23-
return cli
2422
}

bun.lockb

13.9 KB
Binary file not shown.

storage/framework/core/buddy/src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async function main() {
114114
// console.error(`Expected a default export function in ${file}, but got:`, dynamicImport.default)
115115
// }
116116

117-
// const listenerImport = await import(p.commandsPath('Listener.ts'))
117+
// const listenerImport = await import(p.listenersPath('Console.ts'))
118118
// if (typeof listenerImport.default === 'function')
119119
// listenerImport.default(buddy)
120120

storage/framework/core/path/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ export function lintPath(path?: string) {
242242
return corePath(`lint/${path || ''}`)
243243
}
244244

245+
export function listenersPath(path?: string) {
246+
return appPath(`Listeners/${path || ''}`)
247+
}
248+
245249
export function eslintPath(path?: string) {
246250
return lintPath(`eslint/${path || ''}`)
247251
}
@@ -498,6 +502,7 @@ export const path = {
498502
libsPath,
499503
libraryEntryPath,
500504
lintPath,
505+
listenersPath,
501506
loggingPath,
502507
jobsPath,
503508
modulesPath,

0 commit comments

Comments
 (0)