From 98e660ca346830cc801958d1c9f9d831e803b24a Mon Sep 17 00:00:00 2001 From: filzrev <103790468+filzrev@users.noreply.github.com> Date: Sun, 15 Dec 2024 22:48:16 +0900 Subject: [PATCH] chore: delete unused docfx tempdir creation --- src/Docfx.App/PdfBuilder.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Docfx.App/PdfBuilder.cs b/src/Docfx.App/PdfBuilder.cs index 2e4123f6a3b..8c95fea7821 100644 --- a/src/Docfx.App/PdfBuilder.cs +++ b/src/Docfx.App/PdfBuilder.cs @@ -258,9 +258,6 @@ static async Task CreatePdf( Func> printPdf, Func> printHeaderFooter, ProgressTask task, Uri outlineUrl, Outline outline, string outputFolder, string outputPath, Action> updatePageNumbers) { - var tempDirectory = Path.Combine(Path.GetTempPath(), ".docfx", "pdf", "pages"); - Directory.CreateDirectory(tempDirectory); - var pages = GetPages(outline).ToArray(); if (pages.Length == 0) return;