mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 01:37:49 +02:00
Logs and tests (#3247)
* Add command name to err * Add var name to error message * Add test for def comment in test
This commit is contained in:
@ -31,7 +31,7 @@ pub(crate) async fn run_external_command(
|
||||
if !context.host.lock().is_external_cmd(&command.name) {
|
||||
return Err(ShellError::labeled_error(
|
||||
"Command not found",
|
||||
"command not found",
|
||||
format!("command {} not found", &command.name),
|
||||
&command.name_tag,
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user