forked from extern/nushell
First step (#411)
This commit is contained in:
@ -38,8 +38,10 @@ impl Command for Hide {
|
||||
{
|
||||
pat
|
||||
} else {
|
||||
return Err(ShellError::InternalError(
|
||||
"Got something else than import pattern".into(),
|
||||
return Err(ShellError::LabeledError(
|
||||
"Unexpected import".into(),
|
||||
"import pattern not supported".into(),
|
||||
call.head,
|
||||
));
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user