Skip to content

Commit b027480

Browse files
authored
Update lib/mix/lib/mix/utils.ex
1 parent 3d3749e commit b027480

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mix/lib/mix/utils.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,13 +497,13 @@ defmodule Mix.Utils do
497497
escape_dot_string(rest, <<acc::binary, ?\\, ?">>)
498498
end
499499

500-
defp escape_dot_string(<<char, rest::binary>>, acc) do
501-
escape_dot_string(rest, <<acc::binary, char>>)
502-
end
503-
504500
defp escape_dot_string(<<?\\>>, acc) do
505501
<<acc::binary, ?\\, ?\\, ?">>
506502
end
503+
504+
defp escape_dot_string(<<char, rest::binary>>, acc) do
505+
escape_dot_string(rest, <<acc::binary, char>>)
506+
end
507507

508508
defp escape_dot_string(<<>>, acc) do
509509
<<acc::binary, ?">>

0 commit comments

Comments
 (0)