Skip to content

Commit

Permalink
Remove semicolons.
Browse files Browse the repository at this point in the history
  • Loading branch information
IanLuites committed Mar 21, 2017
1 parent 2b25465 commit b216b67
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lib/mix/tasks/analyze.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions lib/mix/tasks/build.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"""
Expand Down
4 changes: 2 additions & 2 deletions lib/wobserver/util/process.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions lib/wobserver/web/router/static.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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 <> "/")
Expand All @@ -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
Expand Down

0 comments on commit b216b67

Please sign in to comment.