Commit 356b812
committed
fix incorrect path resolution in tidy
Previously, reading the current path from the environment led to failure when invoking
x from outside the source root. This change fixes this issue by reading the second argument,
which always equals to the source root (see https://github.com/rust-lang/rust/blob/a655e648a9f94d74263108366b83e677af56e35d/src/bootstrap/src/core/build_steps/test.rs#L1081).
Signed-off-by: onur-ozkan <work@onurozkan.dev>1 parent 735f758 commit 356b812
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
187 | | - | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
0 commit comments