Clarify external command error (#6308)

This commit is contained in:
Reilly Wood 2022-08-12 10:34:10 -07:00 committed by GitHub
parent 2da915d0c7
commit d885258dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -389,7 +389,7 @@ Either make sure {0} is a string, or add a 'to_string' entry for it in ENV_CONVE
/// ## Resolution
///
/// This error is fairly generic. Refer to the specific error message for further details.
#[error("External command")]
#[error("External command failed")]
#[diagnostic(code(nu::shell::external_command), url(docsrs), help("{1}"))]
ExternalCommand(String, String, #[label("{0}")] Span),