Skip to content

Commit

Permalink
Whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Laco committed May 23, 2017
1 parent d2baab9 commit 2aac737
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions lib/mix/tasks/torch.gen.ex
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ defmodule Mix.Tasks.Torch.Gen do
@doc false
def run(args) do
Mix.Task.run("app.start", [])
{ _opts,
[
format,
{_opts,
[format,
namespace,
singular,
plural,
Expand Down
8 changes: 3 additions & 5 deletions lib/torch/views/pagination_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,8 @@ defmodule Torch.PaginationView do
current_page + distance - 1
end

defp sort_opts(%{ sort_field: sort_field, sort_direction: sort_direction}) do
%{
sort_field: sort_field,
sort_direction: sort_direction
}
defp sort_opts(%{sort_field: sort_field, sort_direction: sort_direction}) do
%{sort_field: sort_field,
sort_direction: sort_direction}
end
end

0 comments on commit 2aac737

Please sign in to comment.