From 5dcd8ff2557ca4468cc7b2c14072e0f7cc6e3b0d Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Tue, 13 Aug 2024 11:22:09 +0900 Subject: [PATCH] Fix #880 Signed-off-by: Sora Morimoto --- cli/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/index.js b/cli/index.js index 7f768c9f..f0ff2157 100644 --- a/cli/index.js +++ b/cli/index.js @@ -86,7 +86,7 @@ const cli = (input) => { }), ); - for (const command of input.commands) { + for (const command of Object.entries(input.commands ?? {})) { addCommand(command); }