This commit is contained in:
Liang Ding 2015-06-14 13:23:46 +08:00
parent 84214a4a1a
commit 492e74e1e8
1 changed files with 2 additions and 0 deletions

View File

@ -846,6 +846,8 @@ func searchInFile(path string, text string) []*Snippet {
}
func authWorkspace(username, path string) bool {
path = filepath.FromSlash(path)
if strings.HasPrefix(path, util.Go.GetAPIPath()) {
return true
}