From 86aaf39d8590e5a09c68b2ad2a4dfbd8a40fb80d Mon Sep 17 00:00:00 2001 From: Jermiah Joseph Date: Sat, 9 Nov 2024 12:33:20 -0500 Subject: [PATCH] fix: ensure tasks are fetched for the best platform --- src/cli/task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/task.rs b/src/cli/task.rs index 261faf22e..ad6923553 100644 --- a/src/cli/task.rs +++ b/src/cli/task.rs @@ -423,7 +423,7 @@ pub fn execute(args: Args) -> miette::Result<()> { let tasks: HashMap = task_names .into_iter() .filter_map(|task_name| { - env.task(&task_name, None) + env.task(&task_name, Some(env.best_platform())) .ok() .map(|task| (task_name, task.clone())) })