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<()> {
8181 . with_level ( true )
8282 . with_env_filter (
8383 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" ) ) ,
8585 )
8686 . init ( ) ;
8787 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 {
427427 }
428428 dbscheme_name
429429 . split ( '_' )
430- . map ( |word| to_title_case ( word ) )
430+ . map ( to_title_case)
431431 . collect :: < Vec < String > > ( )
432432 . join ( "" )
433433}
You can’t perform that action at this time.
0 commit comments