Skip to content

Commit

Permalink
fix: output result in top-level runner
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Jan 4, 2024
1 parent 6ec35b2 commit a8b01e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

async function main() {
const { execute } = await import('@oclif/core');
await execute({ dir: import.meta.url });
await execute({ dir: import.meta.url }).then(msg => {
if (msg) {
// eslint-disable-next-line no-console
console.log(msg);
}
});
}

await main();

0 comments on commit a8b01e2

Please sign in to comment.