@@ -2,7 +2,6 @@ import * as fs from "fs";
2
2
import * as path from "path" ;
3
3
import { performance } from "perf_hooks" ;
4
4
5
- import * as toolrunner from "@actions/exec/lib/toolrunner" ;
6
5
import { safeWhich } from "@chrisgavin/safe-which" ;
7
6
import del from "del" ;
8
7
import * as yaml from "js-yaml" ;
@@ -135,7 +134,6 @@ export async function runExtraction(
135
134
codeql : CodeQL ,
136
135
config : configUtils . Config ,
137
136
logger : Logger ,
138
- features : FeatureEnablement ,
139
137
) {
140
138
for ( const language of config . languages ) {
141
139
if ( dbIsFinalized ( config , language , logger ) ) {
@@ -224,12 +222,11 @@ async function finalizeDatabaseCreation(
224
222
threadsFlag : string ,
225
223
memoryFlag : string ,
226
224
logger : Logger ,
227
- features : FeatureEnablement ,
228
225
) : Promise < DatabaseCreationTimings > {
229
226
const codeql = await getCodeQL ( config . codeQLCmd ) ;
230
227
231
228
const extractionStart = performance . now ( ) ;
232
- await runExtraction ( codeql , config , logger , features ) ;
229
+ await runExtraction ( codeql , config , logger ) ;
233
230
const extractionTime = performance . now ( ) - extractionStart ;
234
231
235
232
const trapImportStart = performance . now ( ) ;
@@ -405,7 +402,6 @@ export async function runFinalize(
405
402
memoryFlag : string ,
406
403
config : configUtils . Config ,
407
404
logger : Logger ,
408
- features : FeatureEnablement ,
409
405
) : Promise < DatabaseCreationTimings > {
410
406
try {
411
407
await del ( outputDir , { force : true } ) ;
@@ -421,7 +417,6 @@ export async function runFinalize(
421
417
threadsFlag ,
422
418
memoryFlag ,
423
419
logger ,
424
- features ,
425
420
) ;
426
421
427
422
// WARNING: This does not _really_ end tracing, as the tracer will restore its
0 commit comments