Skip to content

Commit

Permalink
Fix for-of loop in CLI commands iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
maastrich committed Nov 12, 2023
1 parent b55f6eb commit 641fba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cli
stdout.end();
});

for (const name in commands.keys()) {
for (const name of commands.keys()) {
cli
.command(`${name} [...workspaces]`, "", { allowUnknownOptions: true })
.action(async (wss: Array<string>, options) => {
Expand Down

0 comments on commit 641fba0

Please sign in to comment.