We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a934dd1 commit aa66854Copy full SHA for aa66854
integration-test/src/bin/autify-with-proxy.ts
@@ -24,7 +24,11 @@ const getPollyMode = (): PollyMode => {
24
};
25
26
const getAutifyCli = (): string => {
27
- const autify = AUTIFY_CLI_PATH ?? "autify";
+ let autify = AUTIFY_CLI_PATH ?? "autify";
28
+ if (process.platform === "win32") {
29
+ autify += ".cmd";
30
+ }
31
+
32
if (!existsSync(autify) && !which.sync(autify))
33
throw new Error(`Invalid autify-cli path: ${autify}`);
34
return autify;
@@ -130,7 +134,6 @@ const autifyWithProxy = async (originalArgs: string[]) => {
130
134
AUTIFY_MOBILE_BASE_PATH: `http://127.0.0.1:${mobileProxy.port}/api/v1/`,
131
135
},
132
136
stdio: "inherit",
133
- shell: process.platform === "win32",
137
});
138
return new Promise<ProcStatus>((resolve, reject) => {
139
proc.on("close", async (code, signal) => {
0 commit comments