mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-15 18:30:39 +09:00
4 lines
151 B
TypeScript
4 lines
151 B
TypeScript
|
|
export function preferredShellForSandbox(shellCommand: string | null | undefined): "bash" | "sh" {
|
||
|
|
return shellCommand === "bash" ? "bash" : "sh";
|
||
|
|
}
|