Commit 2c79531
authored
Remove optGenVersion from api path for goimports (#430)
`ack-generate crossplane` fails if there is no `apis/_service_/v1alpha1 directory`. The code includes optGenVersion in the apiPath for goimports which causes an error when the directory doesn't exist.
Removing optGenVersion from the apiPath causes `goimports` to run on all files/directorys under `apis/<service>`
Signed-off-by: Bob Haddleton <[email protected]>
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.1 parent 0888419 commit 2c79531
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments