commit | 719de43158fff09b95d250a4776accd05b51634e | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Thu Jun 27 14:19:18 2019 +0100 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Thu Jun 27 18:35:37 2019 +0000 |
tree | fc237570fe635b649deb1e73f5966410b22216dc | |
parent | e764f38a4b04e0a068631bc53d8737ba07639557 [diff] |
Enable gofmt preupload check All existing .go files are compatible with gofmt -w. Test: attempt to upload badly formatted file. Change-Id: I027935a5a5d28dcfc84ed0fbb9e0ed0beb01cfa2
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index 304c3c1..6ab01dc 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg
@@ -4,6 +4,7 @@ [Builtin Hooks] cpplint = true bpfmt = true +gofmt = true [Builtin Hooks Options] # Cpplint prints nothing unless there were errors.