* Fix #1810 * Remove go embed * Format code * Remove useless code Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
@@ -28,6 +28,10 @@ func JavaCommand(c *cli.Context) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := api.Validate(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
api.Service = api.Service.JoinPrefix()
|
||||
packetName := strings.TrimSuffix(api.Service.Name, "-api")
|
||||
logx.Must(pathx.MkdirIfNotExist(dir))
|
||||
|
||||
Reference in New Issue
Block a user