Commit 706d93d
authored
fix(tasks): inject outputFiles into Pebble context in CommandsWrapper.render() (#15758)
The run() method already built the outputFiles map for renderCommands(), but
render(RunContext, Property<String>) called from Script.run() used only
taskRunner.additionalVars() — no outputFiles — so {{ outputFiles.name }}
resolved at script render time with "Unable to find `outputFiles`".
Apply the same non-glob name→workingDir/name injection in render() so the
variable is available before run() is called.
Fixes #137651 parent 5c03321 commit 706d93d
1 file changed
Lines changed: 15 additions & 1 deletion
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
269 | 283 | | |
270 | 284 | | |
271 | 285 | | |
| |||
0 commit comments