Commit 44887aa
committed
fix: use string replace instead of format for exe_ext substitution
- Change from .format(exe_ext = exe_ext) to .replace("{exe_ext}", exe_ext)
- Avoids Python format string errors with literal braces in Starlark code
- Fixes 'No replacement found for index 0' error in all platforms1 parent e137324 commit 44887aa
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
327 | | - | |
| 326 | + | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
420 | | - | |
| 419 | + | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
| |||
0 commit comments