Skip to content

Commit

Permalink
Merge pull request #729 from magieno/2024-11-fix-shell-manager-issue
Browse files Browse the repository at this point in the history
- Make sure to properly return to not execute a command twice.
  • Loading branch information
etiennenoel authored Nov 22, 2024
2 parents 4016a77 + e647e29 commit d948eeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/src/managers/shell.manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ export class ShellManager {

return resolve(code + "");
});

return;
}

return exec(finalCommand, {env, maxBuffer: options?.maxBuffer}, (error, stdout, stderr) => {
Expand Down

0 comments on commit d948eeb

Please sign in to comment.