mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 16:45:33 +02:00
Update error description
This commit is contained in:
@ -74,7 +74,7 @@ impl WholeStreamCommand for AutoenvUnTrust {
|
|||||||
if allowed.files.remove(&file_to_untrust).is_none() {
|
if allowed.files.remove(&file_to_untrust).is_none() {
|
||||||
return
|
return
|
||||||
Err(ShellError::untagged_runtime_error(
|
Err(ShellError::untagged_runtime_error(
|
||||||
"No .nu-env file to untrust in the given directory",
|
"No .nu-env file to untrust in the given directory. Is it missing, or already untrusted?",
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user