No longer need to trace call_info

This commit is contained in:
Andrés N. Robalino 2019-07-30 06:47:08 -05:00
parent 0b8bbd8637
commit c3034d3247

View File

@ -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();
} }