Skip to content

Commit

Permalink
Merge pull request #16451 from hvitved/treesitter/codeql-verbosity
Browse files Browse the repository at this point in the history
Tree-sitter: Respect verbosity defined in `CODEQL_VERBOSITY`
  • Loading branch information
hvitved committed May 24, 2024
2 parents 8ae607c + e4cd9d8 commit 0dbce3d
Show file tree
Hide file tree
Showing 13 changed files with 2,385 additions and 5,017 deletions.
1 change: 1 addition & 0 deletions ql/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions ql/extractor/src/extractor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ pub struct Options {
}

pub fn run(options: Options) -> std::io::Result<()> {
tracing_subscriber::fmt()
.with_target(false)
.without_time()
.with_level(true)
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
.init();
codeql_extractor::extractor::set_tracing_level("ql");

let extractor = simple::Extractor {
prefix: "ql".to_string(),
Expand Down
7 changes: 1 addition & 6 deletions ql/extractor/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ pub struct Options {
}

pub fn run(options: Options) -> std::io::Result<()> {
tracing_subscriber::fmt()
.with_target(false)
.without_time()
.with_level(true)
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
.init();
codeql_extractor::extractor::set_tracing_level("ql");

let languages = vec![
Language {
Expand Down
2 changes: 1 addition & 1 deletion ql/rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# extractor. It is set to the lowest version of Rust we want to support.

[toolchain]
channel = "1.70"
channel = "1.74"
profile = "minimal"
components = [ "rustfmt" ]

0 comments on commit 0dbce3d

Please sign in to comment.