Skip to content

Commit

Permalink
Merge pull request #320 from borsna/master
Browse files Browse the repository at this point in the history
Update file extension in GraphQLPublisher.cs #319
  • Loading branch information
jeremyiverson authored Dec 22, 2023
2 parents 4aa5502 + 5d3a7a4 commit caee806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cogs.Publishers/GraphQLPublisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void IterateType(List<GraphQLItems> items, CogsModel model)
}
public void WriteToFile(List<GraphQLItems> 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);
Expand Down

0 comments on commit caee806

Please sign in to comment.