Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
working-directory: tests

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
persist-credentials: false

Expand Down
8 changes: 4 additions & 4 deletions tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ fn main() -> io::Result<()> {
return None;
}
let name = p.file_stem().unwrap().to_str().unwrap().to_owned();
if let Some(rx) = &filter {
if !rx.is_match(&name).unwrap() {
return None;
}
if let Some(rx) = &filter
&& !rx.is_match(&name).unwrap()
{
return None;
}
Some(Ok((name, p)))
}
Expand Down
Loading