Skip to content

Commit

Permalink
trying to pass weird github test
Browse files Browse the repository at this point in the history
  • Loading branch information
bradhanks committed Jan 4, 2024
1 parent f8b2132 commit e00aacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/credo/cli/command/explain/output/default.ex
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ defmodule Credo.CLI.Command.Explain.Output.Default do
|> String.trim()
|> String.split("\n")
|> Enum.flat_map(&format_explanation(&1, outer_color))
|> Credo.Backports.Enum.slice(0..-2//-1)
|> Credo.Backports.Enum.slice(%Range{first: 0, last: -2, step: -1})
|> UI.puts()

UI.puts_edge([outer_color, :faint])
Expand Down

0 comments on commit e00aacc

Please sign in to comment.