Skip to content

Commit 8013fc1

Browse files
v0idpwnjosevalim
andauthored
No staircase
Co-authored-by: José Valim <[email protected]>
1 parent 3ef99bc commit 8013fc1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/ecto/adapters/sql.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,8 +1405,7 @@ defmodule Ecto.Adapters.SQL do
14051405
[
14061406
?\n,
14071407
IO.ANSI.light_black(),
1408-
List.duplicate(?\s, 2 * idx),
1409-
"↳ ",
1408+
if(idx == 0, do: "↳ ", else: " "),
14101409
Exception.format_mfa(module, function, arity),
14111410
log_stacktrace_info(info),
14121411
IO.ANSI.reset()

0 commit comments

Comments
 (0)