Skip to content

Commit

Permalink
Merge 841bea2 into 7637b2f
Browse files Browse the repository at this point in the history
  • Loading branch information
thanethomson committed Oct 25, 2021
2 parents 7637b2f + 841bea2 commit 0a30965
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions testgen/src/tester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,7 @@ impl Tester {
let path = format!("{}", entry.path().display());
let rel_path = self.env().unwrap().rel_path(&path).unwrap();
if kind.is_file() || kind.is_symlink() {
if !rel_path.ends_with(".json") {
return;
} else {
if rel_path.ends_with(".json") {
self.run_for_file(&rel_path);
}
} else if kind.is_dir() {
Expand Down

0 comments on commit 0a30965

Please sign in to comment.