chore(makefile): change gofmt toll to gofumpt

This commit is contained in:
Bo-Yi Wu
2021-01-14 21:15:06 +08:00
parent 7abe52fd7d
commit 91cd4c1be5
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -290,7 +290,7 @@ func (p Plugin) Exec() (err error) {
if err != nil {
return fmt.Errorf("unable to read file with template vars '%s': %v", p.Config.TemplateVarsFile, err)
}
var vars = make(map[string]string)
vars := make(map[string]string)
if err = json.Unmarshal(content, &vars); err != nil {
return fmt.Errorf("unable to unmarshall template vars from JSON file '%s': %v", p.Config.TemplateVarsFile, err)
}