mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 00:31:24 +00:00
refactor: eliminate jscpd clones and boost tests
This commit is contained in:
@@ -49,7 +49,7 @@ export function getShellConfig(): { shell: string; args: string[] } {
|
||||
return { shell, args: ["-c"] };
|
||||
}
|
||||
|
||||
function resolveShellFromPath(name: string): string | undefined {
|
||||
export function resolveShellFromPath(name: string): string | undefined {
|
||||
const envPath = process.env.PATH ?? "";
|
||||
if (!envPath) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user