mirror of
https://github.com/golang/go
synced 2024-11-18 20:04:52 -07:00
internal/lsp: fix bug in diagnostics for watched changed files
I accidentally copy-pasted code in CL 196019. Change-Id: I092bfd745182f1c35e0540f080f139c4ced15776 Reviewed-on: https://go-review.googlesource.com/c/tools/+/196277 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com>
This commit is contained in:
parent
58d531046a
commit
b8f1ca6a92
@ -86,7 +86,7 @@ func (s *Server) didChangeWatchedFiles(ctx context.Context, params *protocol.Did
|
||||
}
|
||||
return nil
|
||||
}
|
||||
go s.diagnostics(view, uri)
|
||||
go s.diagnostics(view, otherFile.URI())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user