@@ -2,7 +2,6 @@ import * as fs from "fs";
22import * as path from "path" ;
33import { performance } from "perf_hooks" ;
44
5- import * as toolrunner from "@actions/exec/lib/toolrunner" ;
65import { safeWhich } from "@chrisgavin/safe-which" ;
76import del from "del" ;
87import * as yaml from "js-yaml" ;
@@ -135,7 +134,6 @@ export async function runExtraction(
135134 codeql : CodeQL ,
136135 config : configUtils . Config ,
137136 logger : Logger ,
138- features : FeatureEnablement ,
139137) {
140138 for ( const language of config . languages ) {
141139 if ( dbIsFinalized ( config , language , logger ) ) {
@@ -224,12 +222,11 @@ async function finalizeDatabaseCreation(
224222 threadsFlag : string ,
225223 memoryFlag : string ,
226224 logger : Logger ,
227- features : FeatureEnablement ,
228225) : Promise < DatabaseCreationTimings > {
229226 const codeql = await getCodeQL ( config . codeQLCmd ) ;
230227
231228 const extractionStart = performance . now ( ) ;
232- await runExtraction ( codeql , config , logger , features ) ;
229+ await runExtraction ( codeql , config , logger ) ;
233230 const extractionTime = performance . now ( ) - extractionStart ;
234231
235232 const trapImportStart = performance . now ( ) ;
@@ -405,7 +402,6 @@ export async function runFinalize(
405402 memoryFlag : string ,
406403 config : configUtils . Config ,
407404 logger : Logger ,
408- features : FeatureEnablement ,
409405) : Promise < DatabaseCreationTimings > {
410406 try {
411407 await del ( outputDir , { force : true } ) ;
@@ -421,7 +417,6 @@ export async function runFinalize(
421417 threadsFlag ,
422418 memoryFlag ,
423419 logger ,
424- features ,
425420 ) ;
426421
427422 // WARNING: This does not _really_ end tracing, as the tracer will restore its
0 commit comments