Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
added missing { to template
Browse files Browse the repository at this point in the history
  • Loading branch information
markbates committed Jan 24, 2018
1 parent 61e821d commit 5e5c9a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buffalo/cmd/build/templates/a.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"github.com/markbates/pop"
"github.com/markbates/inflect"
"github.com/gobuffalo/packr"
<%= if (opts.Environment != "development") %>
<%= if (opts.Environment != "development") { %>
"github.com/gobuffalo/envy"
<% } %>
)

func init() {
<%= if (opts.Environment != "development") %>
<%= if (opts.Environment != "development") { %>
if err := envy.MustSet("GO_ENV", "<%= opts.Environment %>"); err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 5e5c9a6

Please sign in to comment.