Commit 9c1bf17
committed
fix: regression
Fix regression introduced where string operations were being attempted on
Path object. Replace the operation with an equivalent Pathlib operation
and then cast back to a string as otherwise the wildcard substitution
fails.
This kind of regression highlights the need for integration tests that
check a representative config can be loaded correctly. Right now it's
quite difficult to refactor without introducing bugs like this with
seemingly innocuous changes.
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>1 parent fc763d4 commit 9c1bf17
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
0 commit comments