From f5f0f7125eff8e69abe82fc77a47da9e8769f471 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Mon, 1 May 2017 08:43:49 -0600 Subject: [PATCH] end Pipfile.lock with newline --- pipenv/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index e04c2979..da7dd588 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -513,6 +513,8 @@ def do_lock(no_hashes=False): # Write out lockfile. with open(project.lockfile_location, 'w') as f: json.dump(lockfile, f, indent=4, separators=(',', ': '), sort_keys=True) + # Write newline at end of document. GH Issue #319. + f.write('\n') # Purge the virtualenv download dir, for next time. with spinner():