mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: only accept options.yml in QL tests
This commit is contained in:
@@ -62,13 +62,7 @@ impl Config {
|
||||
.ancestors()
|
||||
// only travel up while we're within the test pack
|
||||
.take_while_inclusive(|p| !p.join("qlpack.yml").exists())
|
||||
.flat_map(|p| {
|
||||
[
|
||||
p.join("options"),
|
||||
p.join("options.yml"),
|
||||
p.join("options.yaml"),
|
||||
]
|
||||
})
|
||||
.map(|p| p.join("options.yml"))
|
||||
.filter(|p| p.exists())
|
||||
.collect_vec();
|
||||
option_files.reverse();
|
||||
|
||||
Reference in New Issue
Block a user