Skip to content

Commit

Permalink
Act on CI results: thanks Windows!
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo-ferraz-oliveira committed Sep 15, 2024
1 parent 1efede8 commit 3efda85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elvis_project.erl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ gitignore_patterns(_Config, #{path := Path}, RuleConfig) ->
case file:read_file(Path) of
{ok, PatternsBin} ->
PatternsStr = binary_to_list(PatternsBin),
PatternsNoR = string:replace(PatternsStr, "\r", ""),
PatternsNoR = string:replace(PatternsStr, "\r", "", all),
Patterns = string:split(PatternsNoR, "\n", all),
check_patterns_in_lines(Patterns, AllOf, []);
{error, _} ->
Expand Down

0 comments on commit 3efda85

Please sign in to comment.