Skip to content

Commit

Permalink
🚑 Hotfix run command duplicating input
Browse files Browse the repository at this point in the history
  • Loading branch information
DRFR0ST committed May 29, 2023
1 parent 3e7b73a commit c199ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const installHandler = async (e: unknown, cmd: Command) => {
export const runHandler = async (input: string, e: unknown, cmd: Command) => {
const forcedManager = cmd?.getOptionValue?.('manager')?.replace('=', '');

execute('run', [input, ...cmd.args], forcedManager);
execute('run', [...cmd.args], forcedManager);
};

export const addHandler = async (packages: string[], e: unknown, cmd: Command) => {
Expand Down

0 comments on commit c199ff9

Please sign in to comment.