Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 3271a76

Browse files
starpitk8s-ci-robot
authored andcommitted
fix(plugins/plugin-bash-like): bash-like headless use of spawn unnecessarily sets the shell option
part of #7338
1 parent 37e23f2 commit 3271a76

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

plugins/plugin-bash-like/src/lib/cmds/bash-like.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ function doSpawn(
4242
const options: SpawnOptions = {
4343
env: Object.assign({}, process.env, execOptions['env'] || {})
4444
}
45-
if (process.env.SHELL) {
46-
options.shell = process.env.SHELL
47-
}
4845

4946
if (!execOptions.onInit && !execOptions.onExit && isHeadless() && !inProxy()) {
5047
options.stdio = 'inherit'

0 commit comments

Comments
 (0)