Skip to content

Commit d543650

Browse files
author
José Valim
committed
Merge pull request #813 from alexrp/master
Fix #812: Write a trailing newline character to the Mix lockfile.
2 parents 7196543 + febf5e4 commit d543650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/deps/lock.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defmodule Mix.Deps.Lock do
3333
%b("#{app}": #{inspect rev, raw: true})
3434
end
3535

36-
File.write! lockfile, "[ " <> lines <> " ]"
36+
File.write! lockfile, "[ " <> lines <> " ]\n"
3737
end
3838
end
3939

0 commit comments

Comments
 (0)