This commit is contained in:
Liang Ding 2014-11-13 21:52:25 +08:00
parent 3c3a80c090
commit 5c341e18c3
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ func Find(w http.ResponseWriter, r *http.Request) {
founds := foundPaths{} founds := foundPaths{}
for _, workspace := range workspaces { for _, workspace := range workspaces {
rs := find(workspace, name, []*string{}) rs := find(workspace+conf.PathSeparator+"src", name, []*string{})
for _, r := range rs { for _, r := range rs {
substr := util.Str.LCS(path, *r) substr := util.Str.LCS(path, *r)