Skip to content

Commit

Permalink
Update file extension in GraphQLPublisher.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
borsna authored Dec 21, 2023
1 parent 4aa5502 commit 5d3a7a4
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 5d3a7a4

Please sign in to comment.