Commit 0f293e8
fix(execute-command): normalize both sides of variable name comparison, remove unused userId
Fix asymmetric normalization in resolveWorkflowVariables where the stored
variable name was normalized but the reference name was only trimmed. This
caused <variable.MyVar> to fail matching a variable named "MyVar". Applied
the same fix to the function route which had the identical bug.
Also removed unused userId field from the execute-command tool config
request body — auth identity comes from checkInternalAuth, not the body.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 5dc31b5 commit 0f293e8
File tree
3 files changed
+2
-3
lines changed- apps/sim
- app/api
- function/execute
- tools/execute-command/run
- tools/execute-command
3 files changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
| 369 | + | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
0 commit comments