PATCH: use bash instead of sh

This commit is contained in:
mindfulminun committed 2024-02-11 22:09:41 -06:00
1 parent c90542ed33
commit a8372433f5
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ export class Troopa implements PromiseLike<Deno.CommandOutput> {
*/
export default function koopa(opts: Partial<ShellSpawnerOpts> = {}) {
const actualOpts: ShellSpawnerOpts = {
shell: 'sh',
shell: 'bash',
shellArgs: cmd => ['-c', `${opts.prefix || 'set -euo pipefail'}; ${cmd}`],
autospawn: true,
...opts