commit | 0cb7ce9b53e27c9cb2a6449c8c67070e5937981d | [log] [tgz] |
---|---|---|
author | Jiawei Shao <jiawei.shao@intel.com> | Wed Oct 23 01:01:16 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 23 01:01:16 2024 +0000 |
tree | e1c0242e3f7586062742a8647377ae634d05905d | |
parent | d4f66bb40d42f327e340f8b4249cfeb883366142 [diff] |
Fix the name of `gofmt` on Windows in `go_presubmit_support.py` Bug: chromium:343519239 Change-Id: Ic227da4be398e17e527c4a867babe340a09f6508 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/211974 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
diff --git a/go_presubmit_support.py b/go_presubmit_support.py index f3dc997..bb502d2 100644 --- a/go_presubmit_support.py +++ b/go_presubmit_support.py
@@ -42,7 +42,7 @@ def gofmt_path(input_api): gofmt = input_api.os_path.join(go_bin_path(input_api), 'gofmt') if input_api.is_windows: - go += '.exe' + gofmt += '.exe' return gofmt