Commit 5b4cc8c
refactor: use Path.name instead of rsplit for leaf directory extraction
Path(subpath).name is the idiomatic way to extract the last path
component, replacing the less readable rsplit("/", 1)[-1] pattern.
Co-authored-by: Ralphify <noreply@ralphify.co>1 parent 1f1c27e commit 5b4cc8c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
0 commit comments