File tree Expand file tree Collapse file tree 3 files changed +0
-23
lines changed
resources/filters/quarto-pre Expand file tree Collapse file tree 3 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,6 @@ const kMediabagDir = "mediabag-dir";
104104
105105const kResultsFile = "results-file" ;
106106
107- const kTimingFile = "timings-file" ;
108-
109107const kHasBootstrap = "has-bootstrap" ;
110108
111109const kActiveFilters = "active-filters" ;
@@ -132,7 +130,6 @@ export async function filterParamsJson(
132130 filterParams : Record < string , unknown > ,
133131 resultsFile : string ,
134132 dependenciesFile : string ,
135- timingFile : string ,
136133) {
137134 // extract include params (possibly mutating it's arguments)
138135 const includes = options . format . render [ kMergeIncludes ] !== false
@@ -185,7 +182,6 @@ export async function filterParamsJson(
185182 ...customFormatParams ,
186183 ...typstFilterParams ,
187184 [ kResultsFile ] : pandocMetadataPath ( resultsFile ) ,
188- [ kTimingFile ] : pandocMetadataPath ( timingFile ) ,
189185 [ kQuartoFilters ] : filterSpec ,
190186 [ kActiveFilters ] : {
191187 normalization : metadataNormalizationFilterActive ( options ) ,
Original file line number Diff line number Diff line change @@ -879,7 +879,6 @@ export async function runPandoc(
879879 formatFilterParams ,
880880 filterResultsFile ,
881881 dependenciesFile ,
882- timingResultsFile ,
883882 ) ;
884883
885884 // remove selected args and defaults if we are handling some things on behalf of pandoc
Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ local function resultsFile()
66 return pandoc .utils .stringify (param (" results-file" ))
77end
88
9- local function timingsFile ()
10- return pandoc .utils .stringify (param (" timings-file" ))
11- end
12-
13-
149-- write results
1510function write_results ()
1611 return {
@@ -23,19 +18,6 @@ function write_results()
2318 else
2419 warn (' Error writing LUA results file' )
2520 end
26-
27- -- FIXME: we don't use this anymore, remove it
28- if os.getenv (" QUARTO_PROFILER_OUTPUT" ) ~= nil then
29-
30- local jsonTimings = quarto .json .encode (timing_events )
31- local tfile = io.open (timingsFile (), " w" )
32- if tfile then
33- tfile :write (jsonTimings )
34- tfile :close ()
35- else
36- warn (' Error writing profiler timings JSON' )
37- end
38- end
3921 end
4022 }
4123end
You can’t perform that action at this time.
0 commit comments