diff --git a/bootstrap/bootstrap.go b/bootstrap/bootstrap.go index 7393a7b..82e3e46 100644 --- a/bootstrap/bootstrap.go +++ b/bootstrap/bootstrap.go @@ -127,7 +127,7 @@ func (g *Generator) Run() error { defer os.Remove(path) } - f, err := ioutil.TempFile("", "easyjson-out") + f, err := os.Create(g.OutName + ".tmp") if err != nil { return err }