Skip to content

Commit

Permalink
Fix hard-coded server filename in init
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Byrne committed Aug 6, 2018
1 parent 42f10ec commit 52b7879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func GenerateGraphServer(config *codegen.Config) {
os.Exit(1)
}

fmt.Fprintln(os.Stdout, `Exec "go run ./server/server.go" to start GraphQL server`)
fmt.Fprintf(os.Stdout, `Exec "go run ./%s" to start GraphQL server`, serverFilename)
}

func initConfig() *codegen.Config {
Expand Down

0 comments on commit 52b7879

Please sign in to comment.