Skip to content

Commit d829366

Browse files
committed
Fix linting errors
1 parent 9ba21c3 commit d829366

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/analyze-action.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ async function run() {
250250
memory,
251251
config,
252252
logger,
253-
features,
254253
);
255254

256255
if (actionsUtil.getRequiredInput("skip-queries") !== "true") {

src/analyze.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as fs from "fs";
22
import * as path from "path";
33
import { performance } from "perf_hooks";
44

5-
import * as toolrunner from "@actions/exec/lib/toolrunner";
65
import { safeWhich } from "@chrisgavin/safe-which";
76
import del from "del";
87
import * 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

Comments
 (0)