Skip to content

Commit 62d25b6

Browse files
authored
Merge pull request github#373 from github/aibaars/warn-ruby-beta
Ruby: warn that Ruby is still in Beta
2 parents db1be38 + 74ba532 commit 62d25b6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ruby/extractor/src/main.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,12 @@ fn main() -> std::io::Result<()> {
7979
.with_target(false)
8080
.without_time()
8181
.with_level(true)
82-
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
82+
.with_env_filter(
83+
tracing_subscriber::EnvFilter::try_from_default_env()
84+
.unwrap_or(tracing_subscriber::EnvFilter::new("ruby_extractor=warn")),
85+
)
8386
.init();
84-
87+
tracing::warn!("Support for Ruby is currently in Beta: https://git.io/codeql-language-support");
8588
let num_threads = num_codeql_threads();
8689
tracing::info!(
8790
"Using {} {}",

0 commit comments

Comments
 (0)