mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 19:07:42 +02:00
Fix sink plugins
This commit is contained in:
@ -84,8 +84,11 @@ impl Shell for FilesystemShell {
|
||||
s.span(),
|
||||
));
|
||||
} else {
|
||||
//FIXME
|
||||
return Err(ShellError::string(e.to_string()));
|
||||
return Err(ShellError::labeled_error(
|
||||
e.to_string(),
|
||||
e.to_string(),
|
||||
args.name_span(),
|
||||
));
|
||||
}
|
||||
}
|
||||
Ok(o) => o,
|
||||
|
Reference in New Issue
Block a user