forked from extern/nushell
Update save.rs
This commit is contained in:
parent
946f7256e4
commit
f992f5de95
@ -19,8 +19,8 @@ macro_rules! process_string {
|
|||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
break $scope Err(ShellError::labeled_error(
|
break $scope Err(ShellError::labeled_error(
|
||||||
"Save requires formatted data",
|
"Save requires string data",
|
||||||
"consider piping to a converter (see `help commands`)",
|
"consider converting data to string (see `help commands`)",
|
||||||
$name_tag,
|
$name_tag,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user