fix: issues
This commit is contained in:
@@ -40,7 +40,7 @@ func commandGenModelE(cmd *cobra.Command, args []string) error {
|
||||
|
||||
v := viper.New()
|
||||
v.SetConfigType("yaml")
|
||||
v.SetConfigFile("database/.transform.yaml")
|
||||
v.SetConfigFile("database/transform.yaml")
|
||||
|
||||
if err := v.ReadInConfig(); err != nil {
|
||||
return err
|
||||
|
||||
@@ -26,7 +26,6 @@ func CommandNewProject(root *cobra.Command) {
|
||||
cmd := &cobra.Command{
|
||||
Use: "project",
|
||||
Short: "new project",
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: commandNewProjectE,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user