mirror of
https://github.com/nushell/nushell
synced 2024-12-30 15:03:25 +00:00
Just removed a few comments
This commit is contained in:
parent
2ce034d0f0
commit
11d8e6c71f
1 changed files with 0 additions and 18 deletions
|
@ -27,24 +27,6 @@ impl Command for SubCommand {
|
||||||
) -> Result<nu_protocol::PipelineData, nu_protocol::ShellError> {
|
) -> Result<nu_protocol::PipelineData, nu_protocol::ShellError> {
|
||||||
let head = call.head;
|
let head = call.head;
|
||||||
input.map(move |value| abs_helper(value, head))
|
input.map(move |value| abs_helper(value, head))
|
||||||
// PipelineData::Value(Value::List { vals, span }) => Ok(Value::List {
|
|
||||||
// vals: vals
|
|
||||||
// .into_iter()
|
|
||||||
// .map(move |val| abs_helper(val, head))
|
|
||||||
// .collect(),
|
|
||||||
// span,
|
|
||||||
// }),
|
|
||||||
// PipelineData::Value(other) => match abs_helper(other, head) {
|
|
||||||
// Value::Error { error } => Err(error),
|
|
||||||
// ok => Ok(nu_protocolok),
|
|
||||||
// },
|
|
||||||
// _ => Value::Error {
|
|
||||||
// error: ShellError::UnsupportedInput(
|
|
||||||
// String::from("Only numerical values are supported"),
|
|
||||||
// head,
|
|
||||||
// ),
|
|
||||||
// },
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn examples(&self) -> Vec<Example> {
|
fn examples(&self) -> Vec<Example> {
|
||||||
|
|
Loading…
Reference in a new issue