Skip to content

Commit

Permalink
use reject instead of re-throwing exception
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz authored and jonaprieto committed Sep 5, 2024
1 parent e578a00 commit 094f304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export async function runShellCommand(command: string, input?: string): Promise<
});
} catch (err) {
release();
throw err;
reject(err);
}
});
}
Expand Down

0 comments on commit 094f304

Please sign in to comment.