Merge pull request #7 from MindfulMinun/next
PATCH: use bash instead of sh
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -121,7 +121,7 @@ export class Troopa implements PromiseLike<Deno.CommandOutput> {
|
|||||||
*/
|
*/
|
||||||
export default function koopa(opts: Partial<ShellSpawnerOpts> = {}) {
|
export default function koopa(opts: Partial<ShellSpawnerOpts> = {}) {
|
||||||
const actualOpts: ShellSpawnerOpts = {
|
const actualOpts: ShellSpawnerOpts = {
|
||||||
shell: 'sh',
|
shell: 'bash',
|
||||||
shellArgs: cmd => ['-c', `${opts.prefix || 'set -euo pipefail'}; ${cmd}`],
|
shellArgs: cmd => ['-c', `${opts.prefix || 'set -euo pipefail'}; ${cmd}`],
|
||||||
autospawn: true,
|
autospawn: true,
|
||||||
...opts
|
...opts
|
||||||
|
|||||||
Reference in new issue
Block a user