mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 15:11:52 +02:00
Fix broken build: replace value_string() straggler (#12237)
# Description Fix after #12230 and #12231 crossed wires and broke the build
This commit is contained in:
@ -238,7 +238,7 @@ fn action(input: &Value, args: &Arguments, span: Span) -> Value {
|
||||
.and_then(|base_value| match action(&base_value, args, span) {
|
||||
Value::Error { .. } => Err(ShellError::CantConvert {
|
||||
to_type: String::from("string"),
|
||||
from_type: val.value_string(),
|
||||
from_type: val.type_name(),
|
||||
span,
|
||||
help: Some("this custom value can't be represented as a string".into()),
|
||||
}),
|
||||
|
Reference in New Issue
Block a user