* Fix #1810 * Remove go embed * Format code * Remove useless code Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
@@ -27,6 +27,10 @@ func KtCommand(c *cli.Context) error {
|
||||
return e
|
||||
}
|
||||
|
||||
if err := api.Validate(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
api.Service = api.Service.JoinPrefix()
|
||||
e = genBase(dir, pkg, api)
|
||||
if e != nil {
|
||||
|
||||
Reference in New Issue
Block a user