Skip to content

Commit

Permalink
remove more code
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Oct 22, 2024
1 parent 60cb21f commit 95f6724
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions internal/lsp/lsp.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,20 +120,6 @@ func (s *Server) Subscribe(ctx context.Context, topic *pubsub.Topic[buildengine.
}()
}

// OnBuildStarted clears diagnostics for the given directory. New errors will arrive later if they still exist.
// Also emit an FTL message to set the status.
func (s *Server) OnBuildStarted(module buildengine.Module) {

}

func (s *Server) OnBuildSuccess() {
s.publishBuildState(buildStateSuccess, nil)
}

func (s *Server) OnBuildFailed(err error) {
s.publishBuildState(buildStateFailure, err)
}

// Post sends diagnostics to the client.
func (s *Server) post(err error) {
errByFilename := make(map[string]errSet)
Expand Down

0 comments on commit 95f6724

Please sign in to comment.