Skip to content

Commit 255e30e

Browse files
[canary] Stop removing empty line in package.json
This for some reason only started being an issue now, but basically we have to make sure that an empty line is left at the end of `package.json`, otherwise we get presubmit failures. Resolves brave/brave-browser#46229
1 parent 9ab7759 commit 255e30e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/cr/brockit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,6 +1044,7 @@ def _update_package_version(self):
10441044
self.target_version)
10451045
with open(versioning.PACKAGE_FILE, "w") as package_file:
10461046
json.dump(package, package_file, indent=2)
1047+
package_file.write("\n")
10471048

10481049
repository.brave.run_git('add', versioning.PACKAGE_FILE)
10491050

0 commit comments

Comments
 (0)