Commit 7e0734f
committed
Fix protoc().parent() call
`Path::parent()` returns `None` for root and empty paths, so handle it
by panicking in this case. In this case it should never happen under
non-contrived circumstances.
Signed-off-by: Tom Jakubowski <[email protected]>1 parent 434b81b commit 7e0734f
File tree
2 files changed
+7
-2
lines changed- .github/actions/install-deps
- rust/perspective-server
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | | - | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
0 commit comments