fix: issues

This commit is contained in:
Rogee
2024-12-20 20:53:35 +08:00
parent 8ff0f683c1
commit 66d031fa13
4 changed files with 2 additions and 40 deletions

View File

@@ -35,7 +35,7 @@ func commandNewModuleE(cmd *cobra.Command, args []string) error {
modulePath = strings.Join(module, "/modules/")
}
moduleName := module[len(module)-1]
modulePath = filepath.Join("modules", modulePath)
modulePath = filepath.Join("app/http", modulePath)
log.Infof("new module: %s", modulePath)
force, _ := cmd.Flags().GetBool("force")