mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 10:44:44 -04:00
parent
db0633c1a4
commit
f87239e4ca
@ -676,6 +676,7 @@ type contentChangeMap struct {
|
||||
func (m *contentChangeMap) add(filename string, tp bundleDirType) {
|
||||
m.mu.Lock()
|
||||
dir := filepath.Dir(filename) + helpers.FilePathSeparator
|
||||
dir = strings.TrimPrefix(dir, ".")
|
||||
switch tp {
|
||||
case bundleBranch:
|
||||
m.branches = append(m.branches, dir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user