Skip to content

Commit de3f5df

Browse files
committed
Make error messages have no trailing period
1 parent 83e3758 commit de3f5df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/elixir/lib/macro.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ defmodule Macro do
193193

194194
@doc false
195195
def pipe_warning({call, _, _}) when call in unquote(@unary_ops) do
196-
"piping into a unary operator is deprecated. You could use e.g. Kernel.+(5) instead of +5."
196+
"piping into a unary operator is deprecated. You could use e.g. Kernel.+(5) instead of +5"
197197
end
198198
def pipe_warning(_), do: nil
199199

lib/mix/lib/mix/dep/lock.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ defmodule Mix.Dep.Lock do
6767
defp assert_no_merge_conflicts_in_lockfile(lockfile, info) do
6868
if String.contains?(info, ~w(<<<<<<< ======= >>>>>>>)) do
6969
Mix.raise "Your #{lockfile} contains merge conflicts. Please resolve the conflicts " <>
70-
"and run the command again."
70+
"and run the command again"
7171
end
7272
end
7373
end

0 commit comments

Comments
 (0)