Skip to content

Commit

Permalink
chore: Remove code that create unused docfx temp directory (#10463)
Browse files Browse the repository at this point in the history
chore: delete unused docfx tempdir creation
  • Loading branch information
filzrev authored Dec 24, 2024
1 parent 35858d1 commit 50328a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Docfx.App/PdfBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,6 @@ static async Task CreatePdf(
Func<Outline, Uri, Task<byte[]?>> printPdf, Func<Outline, int, int, Page, Task<byte[]>> printHeaderFooter, ProgressTask task,
Uri outlineUrl, Outline outline, string outputFolder, string outputPath, Action<Dictionary<Outline, int>> updatePageNumbers)
{
var tempDirectory = Path.Combine(Path.GetTempPath(), ".docfx", "pdf", "pages");
Directory.CreateDirectory(tempDirectory);

var pages = GetPages(outline).ToArray();
if (pages.Length == 0)
return;
Expand Down

0 comments on commit 50328a7

Please sign in to comment.