You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <bob.haddleton@nokia.com>
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
0 commit comments