mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
end Pipfile.lock with newline
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user