The problem was that opts.confirmSubmit was mutated before reaching doSetup. This commit creates a copy of the initial confirmSubmit value. So the doSetup receives the initial data passed from the command, not the mutated one. |
||
|---|---|---|
| .. | ||
| create.go | ||
| create_test.go | ||
| http.go | ||
| http_test.go | ||