Skip to content

Commit

Permalink
Add filenames to replace_with_spaces calls
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Jun 9, 2019
1 parent 0bb6b64 commit b26d6b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/credo/check/readability/redundant_blank_lines.ex
Expand Up @@ -33,9 +33,9 @@ defmodule Credo.Check.Readability.RedundantBlankLines do

source_file
|> Charlists.replace_with_spaces("=")
|> Sigils.replace_with_spaces("=", "=")
|> Strings.replace_with_spaces("=", "=")
|> Heredocs.replace_with_spaces("=", "=", "=")
|> Sigils.replace_with_spaces("=", "=", source_file.filename)
|> Strings.replace_with_spaces("=", "=", source_file.filename)
|> Heredocs.replace_with_spaces("=", "=", "=", source_file.filename)
|> Credo.Code.to_lines()
|> blank_lines()
|> consecutive_lines(max_blank_lines)
Expand Down

0 comments on commit b26d6b5

Please sign in to comment.