public async Task Save(JsonReport report, string version) { var reportDirectory = FilePathUtils.NormalizePathSeparators( Path.Combine(_options.BasePath, _outputPath, version)); _fileSystem.Directory.CreateDirectory(reportDirectory); var reportPath = Path.Combine(reportDirectory, "stryker-report.json"); await using var reportStream = _fileSystem.File.Create(reportPath); await report.SerializeAsync(reportStream); _logger.LogDebug("Baseline report has been saved to {ReportPath}", reportPath); }