File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ fn main() -> std::io::Result<()> {
81
81
. with_level ( true )
82
82
. with_env_filter (
83
83
tracing_subscriber:: EnvFilter :: try_from_default_env ( )
84
- . unwrap_or ( tracing_subscriber:: EnvFilter :: new ( "ruby_extractor=warn" ) ) ,
84
+ . unwrap_or_else ( |_| tracing_subscriber:: EnvFilter :: new ( "ruby_extractor=warn" ) ) ,
85
85
)
86
86
. init ( ) ;
87
87
tracing:: warn!( "Support for Ruby is currently in Beta: https://git.io/codeql-language-support" ) ;
Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ fn dbscheme_name_to_class_name(dbscheme_name: &str) -> String {
427
427
}
428
428
dbscheme_name
429
429
. split ( '_' )
430
- . map ( |word| to_title_case ( word ) )
430
+ . map ( to_title_case)
431
431
. collect :: < Vec < String > > ( )
432
432
. join ( "" )
433
433
}
You can’t perform that action at this time.
0 commit comments