Skip to content

Commit 8137419

Browse files
author
Paolo Tranquilli
committed
Rust: only accept options.yml in QL tests
1 parent 75375be commit 8137419

File tree

6 files changed

+1
-7
lines changed

6 files changed

+1
-7
lines changed

rust/extractor/src/config.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,7 @@ impl Config {
6262
.ancestors()
6363
// only travel up while we're within the test pack
6464
.take_while_inclusive(|p| !p.join("qlpack.yml").exists())
65-
.flat_map(|p| {
66-
[
67-
p.join("options"),
68-
p.join("options.yml"),
69-
p.join("options.yaml"),
70-
]
71-
})
65+
.map(|p| p.join("options.yml"))
7266
.filter(|p| p.exists())
7367
.collect_vec();
7468
option_files.reverse();
File renamed without changes.

0 commit comments

Comments
 (0)