Fix linting errors
This commit is contained in:
parent
9ba21c3639
commit
d8293662f4
2 changed files with 1 additions and 7 deletions
|
|
@ -250,7 +250,6 @@ async function run() {
|
||||||
memory,
|
memory,
|
||||||
config,
|
config,
|
||||||
logger,
|
logger,
|
||||||
features,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (actionsUtil.getRequiredInput("skip-queries") !== "true") {
|
if (actionsUtil.getRequiredInput("skip-queries") !== "true") {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@ import * as fs from "fs";
|
||||||
import * as path from "path";
|
import * as path from "path";
|
||||||
import { performance } from "perf_hooks";
|
import { performance } from "perf_hooks";
|
||||||
|
|
||||||
import * as toolrunner from "@actions/exec/lib/toolrunner";
|
|
||||||
import { safeWhich } from "@chrisgavin/safe-which";
|
import { safeWhich } from "@chrisgavin/safe-which";
|
||||||
import del from "del";
|
import del from "del";
|
||||||
import * as yaml from "js-yaml";
|
import * as yaml from "js-yaml";
|
||||||
|
|
@ -135,7 +134,6 @@ export async function runExtraction(
|
||||||
codeql: CodeQL,
|
codeql: CodeQL,
|
||||||
config: configUtils.Config,
|
config: configUtils.Config,
|
||||||
logger: Logger,
|
logger: Logger,
|
||||||
features: FeatureEnablement,
|
|
||||||
) {
|
) {
|
||||||
for (const language of config.languages) {
|
for (const language of config.languages) {
|
||||||
if (dbIsFinalized(config, language, logger)) {
|
if (dbIsFinalized(config, language, logger)) {
|
||||||
|
|
@ -224,12 +222,11 @@ async function finalizeDatabaseCreation(
|
||||||
threadsFlag: string,
|
threadsFlag: string,
|
||||||
memoryFlag: string,
|
memoryFlag: string,
|
||||||
logger: Logger,
|
logger: Logger,
|
||||||
features: FeatureEnablement,
|
|
||||||
): Promise<DatabaseCreationTimings> {
|
): Promise<DatabaseCreationTimings> {
|
||||||
const codeql = await getCodeQL(config.codeQLCmd);
|
const codeql = await getCodeQL(config.codeQLCmd);
|
||||||
|
|
||||||
const extractionStart = performance.now();
|
const extractionStart = performance.now();
|
||||||
await runExtraction(codeql, config, logger, features);
|
await runExtraction(codeql, config, logger);
|
||||||
const extractionTime = performance.now() - extractionStart;
|
const extractionTime = performance.now() - extractionStart;
|
||||||
|
|
||||||
const trapImportStart = performance.now();
|
const trapImportStart = performance.now();
|
||||||
|
|
@ -405,7 +402,6 @@ export async function runFinalize(
|
||||||
memoryFlag: string,
|
memoryFlag: string,
|
||||||
config: configUtils.Config,
|
config: configUtils.Config,
|
||||||
logger: Logger,
|
logger: Logger,
|
||||||
features: FeatureEnablement,
|
|
||||||
): Promise<DatabaseCreationTimings> {
|
): Promise<DatabaseCreationTimings> {
|
||||||
try {
|
try {
|
||||||
await del(outputDir, { force: true });
|
await del(outputDir, { force: true });
|
||||||
|
|
@ -421,7 +417,6 @@ export async function runFinalize(
|
||||||
threadsFlag,
|
threadsFlag,
|
||||||
memoryFlag,
|
memoryFlag,
|
||||||
logger,
|
logger,
|
||||||
features,
|
|
||||||
);
|
);
|
||||||
|
|
||||||
// WARNING: This does not _really_ end tracing, as the tracer will restore its
|
// WARNING: This does not _really_ end tracing, as the tracer will restore its
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue