Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinMB committed May 19, 2020
1 parent 7de3213 commit 26589a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sobelow.ex
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ defmodule Sobelow do
nil -> tmp_default_router
"" -> tmp_default_router
router -> router
end |> Path.expand()
end
|> Path.expand()
end

defp get_phoenix_files(meta_files, router) do
Expand Down
1 change: 1 addition & 0 deletions lib/sobelow/finding_log.ex
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ defmodule Sobelow.FindingLog do
def format_json(false, _), do: "false"
def format_json(atom, _) when is_atom(atom), do: "\"#{atom}\""
def format_json(str, _) when is_binary(str), do: "\"#{str}\""

def format_json({_, _, _} = var, _) do
details = {var, [], []} |> Macro.to_string()
"\"#{details}\""
Expand Down

0 comments on commit 26589a5

Please sign in to comment.