mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Merge pull request #58 from wycats/trace
Remove stray commented out lines
This commit is contained in:
commit
9db8de4845
1 changed files with 6 additions and 5 deletions
11
src/main.rs
11
src/main.rs
|
@ -60,15 +60,16 @@ fn main() -> Result<(), Box<Error>> {
|
||||||
|
|
||||||
match matches.values_of("develop") {
|
match matches.values_of("develop") {
|
||||||
None => {}
|
None => {}
|
||||||
Some(values) => for item in values {
|
Some(values) => {
|
||||||
println!("filtering {:?}", item);
|
for item in values {
|
||||||
builder.filter_module(&format!("nu::{}", item), LevelFilter::Trace);
|
println!("filtering {:?}", item);
|
||||||
} //println!("{:?}", values.collect::<Vec<&str>>()),
|
builder.filter_module(&format!("nu::{}", item), LevelFilter::Trace);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.try_init()?;
|
builder.try_init()?;
|
||||||
|
|
||||||
// pretty_env_logger::init();
|
|
||||||
futures::executor::block_on(crate::cli::cli())?;
|
futures::executor::block_on(crate::cli::cli())?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue