fix issue in gspath

This commit is contained in:
John
2019-06-14 10:35:12 +08:00
parent 46c42ec249
commit e981143ead

View File

@ -19,6 +19,9 @@ import (
// 递归添加目录下的文件
func (sp *SPath) updateCacheByPath(path string) {
if sp.cache == nil {
return
}
sp.addToCache(path, path)
}