Skip to content

Commit

Permalink
fix(sdk/elixir): format function only deprecation message
Browse files Browse the repository at this point in the history
Follow-up conversation in
dagger#6559 (comment). The
function in backquote should convert to snake case only deprecation
message.

Fixes dagger#6939

Signed-off-by: Thanabodee Charoenpiriyakij <wingyminus@gmail.com>
  • Loading branch information
wingyplus authored and helderco committed Apr 28, 2024
1 parent 379e812 commit c60e312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ defmodule Dagger.Codegen.ElixirGenerator.Renderer do
def render_doc(%{description: ""}), do: ""

def render_doc(%{description: description}) do
["@doc", ~c" ", render_string(Formatter.format_doc(description))]
["@doc", ~c" ", render_string(description)]
|> IO.iodata_to_binary()
end

Expand Down
2 changes: 1 addition & 1 deletion sdk/elixir/lib/dagger/gen/container.ex

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c60e312

Please sign in to comment.