Skip to content

Commit 28cd26f

Browse files
committed
feat: add a proper return
1 parent ade0eec commit 28cd26f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/workflows.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const validCommandNames = commandList.map(({ name }) => name)
1111
function listWorkflowCommand (options = {}) {
1212
console.log('Available workflows:')
1313
console.log(commandList.map(({ name, description }) => `- ${name}: ${description}`).join('\n'))
14-
return {}
14+
return commandList
1515
}
1616

1717
async function runWorkflowCommand (knex, options = {}) {

0 commit comments

Comments
 (0)