refactor: eliminate jscpd clones and boost tests

This commit is contained in:
Peter Steinberger
2026-02-19 14:59:36 +00:00
parent 71983716ff
commit dcd592a601
16 changed files with 408 additions and 235 deletions

View File

@@ -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;