diff --git a/Cogs.Publishers/GraphQLPublisher.cs b/Cogs.Publishers/GraphQLPublisher.cs index f467b1f..b815e3b 100644 --- a/Cogs.Publishers/GraphQLPublisher.cs +++ b/Cogs.Publishers/GraphQLPublisher.cs @@ -107,7 +107,7 @@ public void IterateType(List items, CogsModel model) } public void WriteToFile(List items) { - FileStream fs = new FileStream(Path.Combine(TargetDirectory, "GraphQL" + ".json"), FileMode.OpenOrCreate, FileAccess.Write); + FileStream fs = new FileStream(Path.Combine(TargetDirectory, "GraphQL" + ".graphqls"), FileMode.OpenOrCreate, FileAccess.Write); TextWriter tmp = Console.Out; StreamWriter sw = new StreamWriter(fs); Console.SetOut(sw);