mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Rust: Include nested .rs files in codeql test run
This commit is contained in:
@@ -51,7 +51,7 @@ path = "main.rs"
|
||||
}
|
||||
|
||||
fn set_sources(config: &mut Config) -> anyhow::Result<()> {
|
||||
let path_iterator = glob("*.rs").context("globbing test sources")?;
|
||||
let path_iterator = glob("**/*.rs").context("globbing test sources")?;
|
||||
config.inputs = path_iterator
|
||||
.collect::<Result<Vec<_>, _>>()
|
||||
.context("fetching test sources")?;
|
||||
|
||||
Reference in New Issue
Block a user