fix: issues

This commit is contained in:
Rogee
2024-12-20 20:57:20 +08:00
parent 66d031fa13
commit 0916fedfce
4 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -26,7 +26,6 @@ func CommandNewProject(root *cobra.Command) {
cmd := &cobra.Command{
Use: "project",
Short: "new project",
Args: cobra.ExactArgs(1),
RunE: commandNewProjectE,
}