Skip to content

Commit 4369c3f

Browse files
committed
Bootstrap
1 parent 4de3fd8 commit 4369c3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/elixir/lib/code/normalizer.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ defmodule Code.Normalizer do
424424
end
425425

426426
defp maybe_add_trailing_newline(meta, parts, state) do
427-
with true <- state.escape and Keyword.get(meta, :delimiter) in ~w(""" '''),
427+
with true <- state.escape and Keyword.get(meta, :delimiter) in ["\"\"\"", "'''"],
428428
last = List.last(parts),
429429
true <- is_binary(last) and not String.ends_with?(last, "\n") do
430430
[_last | rest] = Enum.reverse(parts)

0 commit comments

Comments
 (0)