build(deps): upgrade xsync from v3 to v4 (#2554)

This commit is contained in:
Valentin Maerten
2025-12-07 12:28:31 +01:00
committed by GitHub
parent 69b345efc9
commit 3fb7919577
4 changed files with 7 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ import (
"time"
"github.com/fsnotify/fsnotify"
"github.com/puzpuzpuz/xsync/v3"
"github.com/puzpuzpuz/xsync/v4"
"github.com/go-task/task/v3/errors"
"github.com/go-task/task/v3/internal/filepathext"
@@ -126,7 +126,7 @@ func (e *Executor) watchTasks(calls ...*Call) error {
}
}()
e.watchedDirs = xsync.NewMapOf[string, bool]()
e.watchedDirs = xsync.NewMap[string, bool]()
go func() {
// NOTE(@andreynering): New files can be created in directories