Skip to content

Commit

Permalink
fix: Show rename/exclude help.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Sep 23, 2024
1 parent 1cc0937 commit 8b9e9e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/task-builder/src/tasks_builder_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ use thiserror::Error;

#[derive(Error, Debug, Diagnostic)]
pub enum TasksBuilderError {
#[diagnostic(code(task_builder::unknown_extends))]
#[diagnostic(
code(task_builder::unknown_extends),
help = "Has the task been renamed or excluded?"
)]
#[error(
"Task {} is extending an unknown task {}.",
.source_id.style(Style::Id),
Expand Down

0 comments on commit 8b9e9e2

Please sign in to comment.