Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use /bin/bash #826

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const getKey = (paths: string[], primaryKey: string): string =>
[...paths, primaryKey].join(", ");

describe("Integration Test", (): void => {
const EXEC_OPTIONS = { shell: "/usr/bin/bash" };
const EXEC_OPTIONS = { shell: "/bin/bash" };
const LIST_COMMAND =
"docker image list --format '" +
'{{ if ne .Repository "<none>" }}{{ .Repository }}' +
Expand Down
2 changes: 1 addition & 1 deletion src/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("Util", (): void => {
const shell =
platform === "win32"
? "C:\\Program Files\\Git\\bin\\bash.exe"
: "/usr/bin/bash";
: "/bin/bash";
expect(execMock).lastCalledWith(command, { shell });
return stdout;
};
Expand Down
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const execBashCommand = async (
const shell =
platform === "win32"
? "C:\\Program Files\\Git\\bin\\bash.exe"
: "/usr/bin/bash";
: "/bin/bash";
let stdout = "";
try {
const output: ConsoleOutput = await execAsPromised(command, { shell });
Expand Down