Skip to content

Commit

Permalink
Check missing template key
Browse files Browse the repository at this point in the history
  • Loading branch information
keimoon committed Mar 19, 2018
1 parent f77daea commit 4abd87f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions buildtree/buildtree.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func readBuildConfig(fileContent []byte, variableMap map[string]string) (*config
if err != nil {
return nil, err
}
tmpl = tmpl.Option("missingkey=error")
b := &bytes.Buffer{}
err = tmpl.Execute(b, variableMap)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion utils/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// Version returns doriath version
func Version() string {
return "1.3.0"
return "1.3.1"
}

// ResolveDir appends a path to a rootDir
Expand Down

0 comments on commit 4abd87f

Please sign in to comment.