mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
@ -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)
|
||||
|
Reference in New Issue
Block a user