1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 20:20:55 +00:00

Fixed small typo

Noticed it when using bee.
This commit is contained in:
James Dyson 2014-10-15 15:30:00 +11:00
parent 7905d77f05
commit bb324d530a

2
new.go
View File

@ -92,7 +92,7 @@ func createApp(cmd *Command, args []string) int {
apppath := path.Join(curpath, args[0]) apppath := path.Join(curpath, args[0])
if _, err := os.Stat(apppath); os.IsNotExist(err) == false { 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) os.Exit(2)
} }