chore: Add extra help text for fixing local modules

This commit is contained in:
Gerald Pinder 2024-11-23 20:23:11 -05:00
parent 5af92e5b0a
commit 81f9024cb3
2 changed files with 146 additions and 116 deletions

View file

@ -77,8 +77,12 @@ impl BlueBuildCommand for ValidateCommand {
return Err(miette!(
help = format!(
"Use `{}` to view more information",
"Use `{}` to view more information.\n{}",
format!("bluebuild validate --all-errors {}", self.recipe.display()).bold(),
format_args!(
"If you're using a local module, be sure to add `{}` to the module entry",
"source: local".bold()
),
),
"{errors}",
)