Skip to content

Commit aa66854

Browse files
committed
wip
1 parent a934dd1 commit aa66854

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

integration-test/src/bin/autify-with-proxy.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ const getPollyMode = (): PollyMode => {
2424
};
2525

2626
const getAutifyCli = (): string => {
27-
const autify = AUTIFY_CLI_PATH ?? "autify";
27+
let autify = AUTIFY_CLI_PATH ?? "autify";
28+
if (process.platform === "win32") {
29+
autify += ".cmd";
30+
}
31+
2832
if (!existsSync(autify) && !which.sync(autify))
2933
throw new Error(`Invalid autify-cli path: ${autify}`);
3034
return autify;
@@ -130,7 +134,6 @@ const autifyWithProxy = async (originalArgs: string[]) => {
130134
AUTIFY_MOBILE_BASE_PATH: `http://127.0.0.1:${mobileProxy.port}/api/v1/`,
131135
},
132136
stdio: "inherit",
133-
shell: process.platform === "win32",
134137
});
135138
return new Promise<ProcStatus>((resolve, reject) => {
136139
proc.on("close", async (code, signal) => {

0 commit comments

Comments
 (0)