We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6276f59 commit 53823a8Copy full SHA for 53823a8
packages/react-native-builder-bob/src/utils/androidAssemble.ts
@@ -24,8 +24,7 @@ export default async function androidAssemble({
24
)}`
25
);
26
27
- const gradleWrapper =
28
- './gradlew' + (platform() === 'win32' ? './gradlew.bat' : '');
+ const gradleWrapper = platform() === 'win32' ? 'gradlew.bat' : './gradlew';
29
if (await fs.pathExists(path.join(androidPath, gradleWrapper))) {
30
execFileSync(gradleWrapper, ['assemble'], { cwd: androidPath });
31
} else {
0 commit comments