Skip to content

Commit f6b81f2

Browse files
Display result path in RPlotExporter
1 parent bf47784 commit f6b81f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BenchmarkDotNet/Exporters/RPlotExporter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public IEnumerable<string> ExportToFiles(Summary summary, ILogger consoleLogger)
2929
{
3030
const string scriptFileName = "BuildPlots.R";
3131
const string logFileName = "BuildPlots.log";
32-
yield return scriptFileName;
32+
yield return Path.Combine(summary.ResultsDirectoryPath, scriptFileName);
3333

3434
string csvFullPath = CsvMeasurementsExporter.Default.GetArtifactFullName(summary);
3535
string scriptFullPath = Path.Combine(summary.ResultsDirectoryPath, scriptFileName);
@@ -72,7 +72,7 @@ public IEnumerable<string> ExportToFiles(Summary summary, ILogger consoleLogger)
7272
File.AppendAllLines(logFullPath, reader.GetErrorLines());
7373
}
7474

75-
yield return $"*{ImageExtension}";
75+
yield return Path.Combine(summary.ResultsDirectoryPath, $"*{ImageExtension}");
7676
}
7777

7878
public void ExportToLog(Summary summary, ILogger logger)

0 commit comments

Comments
 (0)