Commit 5281261
fix: normalize stub_path in repl.bzl (#3104)
When a REPL target is run from an external Bazel module, the `stub_path`
can have path components in it (e.g. "/..") which get rejected by the
`Rlocation()` function in `runfiles.py` for not being normalized. This
commit normalizes the path before it's passed to `Rlocation()`.
Fixes #3101
---------
Co-authored-by: Ignas Anikevicius <[email protected]>1 parent aa60229 commit 5281261
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments