Skip to content

Commit

Permalink
Rust: only accept options.yml in QL tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Paolo Tranquilli committed Nov 18, 2024
1 parent 75375be commit 8137419
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions rust/extractor/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
File renamed without changes.

0 comments on commit 8137419

Please sign in to comment.