* Fix #1810 * Remove go embed * Format code * Remove useless code Co-authored-by: anqiansong <anqiansong@bytedance.com>
This commit is contained in:
@@ -61,6 +61,10 @@ func DoGenProject(apiFile, dir, style string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := api.Validate(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
cfg, err := config.NewConfig(style)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user