Skip to content

Commit

Permalink
🎉 :first: ready to use
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksei Matiushkin committed Apr 13, 2023
1 parent c53937e commit 0284df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/tempus/ddl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ defmodule Tempus.DDL do
def execute_each(sql) do
sql
|> String.split("\n\n\n")
|> Enum.map(&execute/1)
|> Enum.join("\n")
|> Enum.map_join("\n", &execute/1)
end

@doc """
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule Tempus.SQL.MixProject do
dialyzer: [
plt_file: {:no_warn, ".dialyzer/dialyzer.plt"},
plt_add_deps: :transitive,
plt_add_apps: [:nimble_options],
plt_add_apps: [:nimble_options, :mix],
list_unused_filters: true,
ignore_warnings: ".dialyzer_ignore.exs"
]
Expand Down

0 comments on commit 0284df0

Please sign in to comment.