diff options
author | Nick White <git@njw.name> | 2020-10-21 18:00:37 +0100 |
---|---|---|
committer | Nick White <git@njw.name> | 2020-10-21 18:00:37 +0100 |
commit | f706e96cb59d5548ed5afbbf1991dc442b8ffc09 (patch) | |
tree | 84d4870bf729283eb67382d44ccbe4f31bf4b815 | |
parent | 644abdb177331107696b2caf3f0de8ac76a74702 (diff) |
Fix a bug that caused analyse step to not be triggered with local connection
-rw-r--r-- | local.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,8 +132,8 @@ func prefixwalker(dirpath string, prefix string, list *[]ObjMeta) filepath.WalkF if info.IsDir() { return nil } - //n := filepath.Base(path) n := strings.TrimPrefix(path, dirpath) + n = strings.TrimPrefix(n, "/") o := ObjMeta{Name: n, Date: info.ModTime()} *list = append(*list, o) return nil |