mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
build(deps): upgrade xsync from v3 to v4 (#2554)
This commit is contained in:
4
watch.go
4
watch.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user