Skip to content

Commit a32714e

Browse files
committed
Fix build
1 parent 8755d8f commit a32714e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/project/session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ func updateWatch[T any](ctx context.Context, session *Session, logger logging.Lo
460460
}
461461
}
462462
if oldWatcher != nil {
463-
if _, watchers := oldWatcher.Watchers(); len(watchers) > 0 {
463+
if _, watchers, _ := oldWatcher.Watchers(); len(watchers) > 0 {
464464
var removedWatchers []WatcherID
465465
for _, watcher := range watchers {
466466
key := toFileSystemWatcherKey(watcher)

internal/project/watch.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (w *WatchedFiles[T]) ID() WatcherID {
104104
if w == nil {
105105
return ""
106106
}
107-
id, _ := w.Watchers()
107+
id, _, _ := w.Watchers()
108108
return id
109109
}
110110

0 commit comments

Comments
 (0)