We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fde953 commit 20ebdfeCopy full SHA for 20ebdfe
server/api_application.go
@@ -480,7 +480,7 @@ func (server *Server) getApplicationBuildLog(c echo.Context) error {
480
log.Println(err)
481
return
482
} else {
483
- if msg.Payload == "SWIFTWAVE_EOF_LOG" {
+ if strings.Compare(msg.Payload, "SWIFTWAVE_EOF_LOG") == 0 {
484
485
}
486
err := ws.WriteMessage(websocket.TextMessage, []byte(msg.Payload))
server/helpers.go
@@ -90,4 +90,4 @@ func (s ApplicationSource) GetSourceSummary() string {
90
91
func (s *Server) isProductionEnvironment() bool {
92
return strings.Compare(s.ENVIRONMENT, "production") == 0
93
-}
+}
0 commit comments