lib/theme_check/language_server/server.rb in theme-check-0.8.3 vs lib/theme_check/language_server/server.rb in theme-check-0.9.0

- old
+ new

@@ -50,10 +50,10 @@ def send_response(response) response_body = JSON.dump(response) log(JSON.pretty_generate(response)) if $DEBUG - @out.write("Content-Length: #{response_body.size}\r\n") + @out.write("Content-Length: #{response_body.bytesize}\r\n") @out.write("\r\n") @out.write(response_body) @out.flush end