mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
parent
0f4fa0ad7c
commit
4160e34fb6
@ -26,7 +26,7 @@ func runNew(ctx *cli.Context) (err error) {
|
||||
pwd, _ := os.Getwd()
|
||||
p.path = filepath.Join(pwd, p.Name)
|
||||
}
|
||||
p.ModPrefix = modPath(p.path)
|
||||
p.ModPrefix = strings.ReplaceAll(modPath(p.path), "\\", "/")
|
||||
// creata a project
|
||||
if err := create(); err != nil {
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user