mirror of
https://github.com/beego/bee.git
synced 2024-11-25 20:10:55 +00:00
commit
41477f6d88
2
new.go
2
new.go
@ -92,7 +92,7 @@ func createApp(cmd *Command, args []string) int {
|
||||
apppath := path.Join(curpath, args[0])
|
||||
|
||||
if _, err := os.Stat(apppath); os.IsNotExist(err) == false {
|
||||
fmt.Printf("[ERRO] Path(%s) has alreay existed\n", apppath)
|
||||
fmt.Printf("[ERRO] Path (%s) already exists\n", apppath)
|
||||
os.Exit(2)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user