From baf7ca7db7a1f0db14e162d57bfc05f77a584516 Mon Sep 17 00:00:00 2001 From: d-lau Date: Wed, 23 Sep 2020 17:21:14 +0900 Subject: [PATCH] fixed missing format input for resource change --- parse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.go b/parse.go index 106fd47..999b16c 100644 --- a/parse.go +++ b/parse.go @@ -66,7 +66,7 @@ func ParseFromFile(filepath string) ([]*ResourceChange, error) { } func parseResource(s *bufio.Scanner) (*ResourceChange, error) { - rc, err := NewResourceChangeFromComment(s.Text()) + rc, err := NewResourceChangeFromComment(formatInput(s.Text())) if err != nil { return nil, err }