Removed unnecessary EnsureDirPath call
This commit is contained in:
parent
7db99b10bc
commit
3f9ae1cabb
1 changed files with 0 additions and 2 deletions
|
|
@ -184,8 +184,6 @@ func processTableSQLBuilder(fileTypes, dirPath string,
|
|||
func generateSetSchema(dirPath, fileTypes string, schemaMetadata metadata.Schema, builders []TableSQLBuilder) {
|
||||
|
||||
basePath := path.Join(dirPath, builders[0].Path)
|
||||
err := utils.EnsureDirPath(basePath)
|
||||
throw.OnError(err)
|
||||
|
||||
schemaIdentifier := utils.ToGoIdentifier(schemaMetadata.Name)
|
||||
methodName := fmt.Sprintf("Set%sSchema", schemaIdentifier)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue