Skip to content

Commit a016fe5

Browse files
committed
fix: init logger on list command
1 parent 8ebee46 commit a016fe5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodejs 22.17.1

bin/commands/list.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export const types = ['generators', 'rules', 'transports'];
1313
* @param {'generators' | 'rules' | 'transports'} type - The type of items to list.
1414
*/
1515
export default function list(type) {
16+
Logger.init();
17+
1618
const list =
1719
type === 'generators'
1820
? Object.entries(publicGenerators).map(

0 commit comments

Comments
 (0)