Commit 94dc3f1
committed
tools/script_shell: Fix implicit all required parameters
When no required array was explicitly set in the shell tool
configuration, the system was intended to default all arguments as
required.
However, the implementation was incorrectly creating a slice with length
equal to the number of arguments but zero capacity, resulting in an
empty required list.
Signed-off-by: Paweł Gronowski <me@woland.xyz>1 parent 22f8914 commit 94dc3f1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments