diff --git a/mobile/gradle.js b/mobile/gradle.js index fe5dd8e8..941458fc 100644 --- a/mobile/gradle.js +++ b/mobile/gradle.js @@ -5,13 +5,11 @@ const os = require("os"); function runAndroidTest(args) { const platform = os.platform(); - let baseCommand = platform === "win32" ? "gradlew.bat" : "gradlew"; + let baseCommand = platform === "win32" ? "gradlew.bat" : "./gradlew"; const command = `${baseCommand} ${args.join(" ")}`; try { - execSync("pwd", { stdio: "inherit", cwd: "android" }); - execSync("ls", { stdio: "inherit", cwd: "android" }); const output = execSync(command, { stdio: "inherit", cwd: "android" }); if (output && output.toString()) { console.log(output.toString());