Skip to content

Commit

Permalink
Handle unicode in rebar.config (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
elbrujohalcon committed Mar 21, 2022
1 parent e3e3979 commit 568f8d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/rebar3_depup_prv.erl
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ fake_ast(RebarConfig, Sections) ->
end.

clean(String) ->
re:replace(String, "(^|\n)dEl3tE_me[(][)] -> ?", "", [global]).
re:replace(String, "(^|\n)dEl3tE_me[(][)] -> ?", "", [unicode, global]).
2 changes: 2 additions & 0 deletions test/only_patch.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@
{plugins, [{rebar3_proper, "0.0.1"}]}.

{depup, [{only, patch}]}.

{unicode, [{emojis, "✨"}, {chars, "β"}]}.

0 comments on commit 568f8d6

Please sign in to comment.