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

Merge pull request #76 from betazk/patch-1

Fix  Spelling mistake
This commit is contained in:
astaxie 2014-10-28 10:11:25 +08:00
commit acef56f158

6
run.go
View File

@ -128,7 +128,7 @@ func readAppDirectories(directory string, paths *[]string) {
return
}
useDiectory := false
useDirectory := false
for _, fileInfo := range fileInfos {
if strings.HasSuffix(fileInfo.Name(), "docs") {
continue
@ -138,13 +138,13 @@ func readAppDirectories(directory string, paths *[]string) {
continue
}
if useDiectory == true {
if useDirectory == true {
continue
}
if path.Ext(fileInfo.Name()) == ".go" {
*paths = append(*paths, directory)
useDiectory = true
useDirectory = true
}
}