commit | b509ae7393e9f86e316ac2ad61a10cfa56c0b8c8 | [log] [tgz] |
---|---|---|
author | Sigurd Schneider <[email protected]> | Thu Aug 05 10:38:20 2021 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 05 11:40:19 2021 |
tree | 8e7588f3d3916e4f64286b0ce136a156fb100c9e | |
parent | 23be0810338ca13202f3a7c76270e378a24830bb [diff] |
Avoid generating a double newline in code_generator_frontend.py Bug: chromium:1106746 Change-Id: If9a4074466c1df88c2810ac188dac00390e5fcea Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3074605 Reviewed-by: Tim van der Lippe <[email protected]> Commit-Queue: Sigurd Schneider <[email protected]>
diff --git a/scripts/build/code_generator_frontend.py b/scripts/build/code_generator_frontend.py index 372095f..3925fd5 100644 --- a/scripts/build/code_generator_frontend.py +++ b/scripts/build/code_generator_frontend.py
@@ -163,8 +163,7 @@ """// Copyright (c) 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -""" + "// File is generated by %s\n\n" % get_this_script_path_(sys.argv[0]) + - """ +""" + "// File is generated by %s\n" % get_this_script_path_(sys.argv[0]) + """ /** * @typedef {{ * registerCommand: function(string&any, !Array.<!{name: string, type: string, optional: boolean}>, !Array.<string>):void,