Repository navigation
Commit fe807de
committed
RunArgument: fix NPE when no script args are given
The intent was that you could write e.g.:
myApp --run myScript
Instead of requiring that an empty args list be passed like:
myApp --run myScript ''
But in practice, the former was generating a NullPointerException.1 parent 20b4873 commit fe807de
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | | - | |
83 | | - | |
84 | 81 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
88 | 90 | | |
89 | 91 | | |
90 | 92 | | |
| |||
0 commit comments