From 605dffd271e5d24a56730e91414cb0fa47ee9512 Mon Sep 17 00:00:00 2001 From: Iskander Sharipov Date: Fri, 25 Jan 2019 00:03:29 +0300 Subject: [PATCH] cmd/go-normalize: strip comments Updates #6 Signed-off-by: Iskander Sharipov --- cmd/go-normalize/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/go-normalize/main.go b/cmd/go-normalize/main.go index c53d739..70ed3f7 100644 --- a/cmd/go-normalize/main.go +++ b/cmd/go-normalize/main.go @@ -28,6 +28,7 @@ func main() { if err != nil { log.Panicf("loadfile: %v", err) } + f.Comments = nil normalizationConfig := &astnorm.Config{ Info: info, }