mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-14 01:50:39 +09:00
Update packages/adapter-utils/src/server-utils.ts
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
b642d3e06b
commit
9b238d9644
1 changed files with 1 additions and 2 deletions
|
|
@ -308,8 +308,7 @@ function quoteForCmd(arg: string) {
|
|||
|
||||
function resolveWindowsCmdShell(env: NodeJS.ProcessEnv): string {
|
||||
const fallbackRoot = env.SystemRoot || process.env.SystemRoot || "C:\\Windows";
|
||||
const candidate = path.join(fallbackRoot, "System32", "cmd.exe");
|
||||
return candidate;
|
||||
return path.join(fallbackRoot, "System32", "cmd.exe");
|
||||
}
|
||||
|
||||
async function resolveSpawnTarget(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue