Commit 0af98be
committed
fix: use array args when calling DeleteSubdomain
There were two possible ways to fix this: change the calls (what this
commit does) or change the deleteSubdomain function to use the rest
operator.
At first it looked like the spread operator was the correct change
because that makes only one line of code incorrect vs two, however it
was then realized that functions like `deleteSubdomain` adhere to an
implied interface where the first argument to the function is always a
list of command arguments, so this solution was picked instead.1 parent f0cf652 commit 0af98be
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
0 commit comments