Skip to content

Commit 203a16e

Browse files
fix: get only tasks for right type (#2062)
1 parent 45c868f commit 203a16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-platform-android/src/commands/runAndroid/listAndroidTasks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const getGradleTasks = (
3434
) => {
3535
const cmd = process.platform.startsWith('win') ? 'gradlew.bat' : './gradlew';
3636

37-
const out = execa.sync(cmd, ['tasks'], {
37+
const out = execa.sync(cmd, ['tasks', '--group', taskType], {
3838
cwd: sourceDir,
3939
}).stdout;
4040
return parseTasksFromGradleFile(taskType, out);

0 commit comments

Comments
 (0)