mirror of
https://github.com/nushell/nushell.git
synced 2024-12-27 17:39:15 +01:00
No longer need to trace call_info
This commit is contained in:
parent
0b8bbd8637
commit
c3034d3247
@ -4,8 +4,6 @@ use nu::{
|
|||||||
ReturnSuccess, ReturnValue, ShellError, Tagged, Value,
|
ReturnSuccess, ReturnValue, ShellError, Tagged, Value,
|
||||||
};
|
};
|
||||||
|
|
||||||
use log::trace;
|
|
||||||
|
|
||||||
struct Str {
|
struct Str {
|
||||||
field: Option<String>,
|
field: Option<String>,
|
||||||
error: Option<String>,
|
error: Option<String>,
|
||||||
@ -136,8 +134,6 @@ impl Plugin for Str {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn begin_filter(&mut self, call_info: CallInfo) -> Result<Vec<ReturnValue>, ShellError> {
|
fn begin_filter(&mut self, call_info: CallInfo) -> Result<Vec<ReturnValue>, ShellError> {
|
||||||
trace!("{:?}", call_info);
|
|
||||||
|
|
||||||
if call_info.args.has("downcase") {
|
if call_info.args.has("downcase") {
|
||||||
self.for_downcase();
|
self.for_downcase();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user