Commit 8fc500f
committed
Improves file extension check in cleanup
Refactors the file extension check during test environment cleanup to use `is_some_and` for improved readability and conciseness.
This change makes the condition more explicit and easier to understand by directly checking if an extension exists and if it matches the expected value.1 parent 1c089df commit 8fc500f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments