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 fa61aff commit ebd880fCopy full SHA for ebd880f
1 file changed
src/task/task_list.rs
@@ -108,8 +108,6 @@ async fn tasks_for_missing_task_error(
108
config: &Config,
109
name: &str,
110
) -> Result<(Arc<BTreeMap<String, Task>>, bool)> {
111
- let tasks = config.tasks().await?;
112
-
113
// In monorepos, users usually need `tasks ls --all` after a miss. Load that
114
// same view for the error so sibling package tasks can be suggested.
115
if (name.starts_with("//") || config.is_monorepo())
@@ -121,6 +119,7 @@ async fn tasks_for_missing_task_error(
121
119
return Ok((all_tasks, true));
122
120
}
123
+ let tasks = config.tasks().await?;
124
Ok((tasks, false))
125
126
0 commit comments