diff --git a/QuestValidator.Common/JsonWriter.cs b/QuestValidator.Common/JsonWriter.cs index 1ffa70f..1729885 100644 --- a/QuestValidator.Common/JsonWriter.cs +++ b/QuestValidator.Common/JsonWriter.cs @@ -14,8 +14,6 @@ namespace QuestValidator.Common var outputPath = $"{workingPath}\\output\\{outputFolderName}"; DiskHelpers.CreateDirIfDoesntExist(outputPath); - Console.WriteLine($"Writing json file to {outputPath}"); - var options = new JsonSerializerOptions { WriteIndented = true, @@ -25,6 +23,9 @@ namespace QuestValidator.Common }; var json = JsonSerializer.Serialize(itemToSerialise, options); File.WriteAllText($"{outputPath}\\{fileName}.json", json); + + + Console.WriteLine($"wrote {fileName}.json file to {outputPath}"); } } }