From b216b678532c0fbd0a1ee97c8751f46ac30e2358 Mon Sep 17 00:00:00 2001 From: Ian Luites Date: Tue, 21 Mar 2017 14:15:01 +0000 Subject: [PATCH] Remove semicolons. --- lib/mix/tasks/analyze.ex | 2 +- lib/mix/tasks/build.ex | 6 +++--- lib/wobserver/util/process.ex | 4 ++-- lib/wobserver/web/router/static.ex | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/mix/tasks/analyze.ex b/lib/mix/tasks/analyze.ex index 5f14d5d..817bd43 100644 --- a/lib/mix/tasks/analyze.ex +++ b/lib/mix/tasks/analyze.ex @@ -29,7 +29,7 @@ defmodule Mix.Tasks.Analyze do defp execute(command, options, post_process \\ nil) do commands = ["-q", "/dev/null", command] - label = "\e[1m#{command} #{Enum.join(options, " ")}\e[0m"; + label = "\e[1m#{command} #{Enum.join(options, " ")}\e[0m" " " |> Kernel.<>(label) diff --git a/lib/mix/tasks/build.ex b/lib/mix/tasks/build.ex index 7981333..7de0a51 100644 --- a/lib/mix/tasks/build.ex +++ b/lib/mix/tasks/build.ex @@ -54,9 +54,9 @@ defmodule Mix.Tasks.Build do defp pack do html = load_asset "./assets/index.html" - css = load_asset "./assets/main.css"; - js = load_asset "./assets/app.js"; - license = load_asset "./LICENSE"; + css = load_asset "./assets/main.css" + js = load_asset "./assets/app.js" + license = load_asset "./LICENSE" File.write! "./lib/wobserver/assets.ex", """ diff --git a/lib/wobserver/util/process.ex b/lib/wobserver/util/process.ex index fe34e05..b25a15f 100644 --- a/lib/wobserver/util/process.ex +++ b/lib/wobserver/util/process.ex @@ -271,7 +271,7 @@ defmodule Wobserver.Util.Process do defp structure_full(data, pid) do gc = Keyword.get(data, :garbage_collection, []) - dictionary = Keyword.get(data, :dictionary); + dictionary = Keyword.get(data, :dictionary) %{ pid: pid, @@ -299,7 +299,7 @@ defmodule Wobserver.Util.Process do end defp structure_meta(data, pid) do - init = initial_call(data); + init = initial_call(data) class = case init do diff --git a/lib/wobserver/web/router/static.ex b/lib/wobserver/web/router/static.ex index b5c502b..0d91e3e 100644 --- a/lib/wobserver/web/router/static.ex +++ b/lib/wobserver/web/router/static.ex @@ -22,7 +22,7 @@ defmodule Wobserver.Web.Router.Static do true -> conn |> put_resp_content_type("text/html") - |> send_asset("assets/index.html", &Assets.html/0); + |> send_asset("assets/index.html", &Assets.html/0) false -> conn |> put_resp_header("location", conn.request_path <> "/") @@ -33,18 +33,18 @@ defmodule Wobserver.Web.Router.Static do get "/main.css" do conn |> put_resp_content_type("text/css") - |> send_asset("assets/main.css", &Assets.css/0); + |> send_asset("assets/main.css", &Assets.css/0) end get "/app.js" do conn |> put_resp_content_type("application/javascript") - |> send_asset("assets/app.js", &Assets.js/0); + |> send_asset("assets/app.js", &Assets.js/0) end get "/license" do conn - |> send_asset("LICENSE", &Assets.license/0); + |> send_asset("LICENSE", &Assets.license/0) end match _ do