Skip to content

Commit

Permalink
fix init not use custom schema
Browse files Browse the repository at this point in the history
  • Loading branch information
thnt committed Oct 7, 2019
1 parent 4c35356 commit dd98bb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ func initConfig(ctx *cli.Context) {
Filename: "resolver.go",
Type: "Resolver",
}
cfg.SchemaFilename = config.StringList{ctx.String("schema")}

var buf bytes.Buffer
buf.WriteString(strings.TrimSpace(configComment))
Expand Down

0 comments on commit dd98bb1

Please sign in to comment.