Skip to content

Commit

Permalink
Write temp files to tempdir (#3031)
Browse files Browse the repository at this point in the history
  • Loading branch information
John Salem authored Apr 27, 2022
1 parent a40978f commit ca5b879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tools/dotnet-stack/ReportCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal static class ReportCommandHandler
/// <returns></returns>
private static async Task<int> Report(CancellationToken ct, IConsole console, int processId, string name, TimeSpan duration)
{
string tempNetTraceFilename = Path.GetRandomFileName() + ".nettrace";
string tempNetTraceFilename = Path.Join(Path.GetTempPath(), Path.GetRandomFileName() + ".nettrace");
string tempEtlxFilename = "";

try
Expand Down

0 comments on commit ca5b879

Please sign in to comment.