mirror of
https://github.com/sern-handler/handler
synced 2026-06-24 08:42:17 +00:00
refactor: move and update things
This commit is contained in:
@@ -58,6 +58,7 @@ export function buildModuleStream<T>(
|
||||
export function getCommands(dir: string): string[] {
|
||||
return readPath(join(process.cwd(), dir));
|
||||
}
|
||||
|
||||
export function filename(path: string) {
|
||||
return fmtFileName(basename(path))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user