Skip to content

Commit

Permalink
Allow recursive generate
Browse files Browse the repository at this point in the history
  • Loading branch information
fd committed May 10, 2016
1 parent ddb000f commit f2dfd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func Generate(filename string, data []byte) ([]byte, error) {
return nil, err
}

return buf.Bytes(), nil
return Generate(filename, buf.Bytes())
}

func extractCommand(data []byte) (string, []byte, []byte) {
Expand Down

0 comments on commit f2dfd03

Please sign in to comment.