Skip to content

Commit

Permalink
chore: delete unused docfx tempdir creation
Browse files Browse the repository at this point in the history
  • Loading branch information
filzrev committed Dec 15, 2024
1 parent 445113c commit 98e660c
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 98e660c

Please sign in to comment.