diff options
-rw-r--r-- | lib/octochat/servers/echo.ex | 1 | ||||
-rw-r--r-- | mix.exs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/octochat/servers/echo.ex b/lib/octochat/servers/echo.ex index ff25869..2945c47 100644 --- a/lib/octochat/servers/echo.ex +++ b/lib/octochat/servers/echo.ex @@ -18,6 +18,7 @@ defmodule Octochat.Echo do msg |> String.trim() |> String.reverse() + |> (fn (line) -> line <> "\n" end).() |> write_line!(socket) {:noreply, state} end @@ -5,7 +5,7 @@ defmodule Octochat.Mixfile do [app: :octochat, description: "Demo Application for How Swapping Code", package: package(), - version: "0.3.2", + version: "0.3.3", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, |