Autoformat

This commit is contained in:
Rasmus Wriedt Larsen 2024-04-04 17:13:31 +02:00
parent c7eea240e2
commit 9ba21c3639
No known key found for this signature in database
2 changed files with 4 additions and 17 deletions

View file

@ -17,10 +17,7 @@ import * as configUtils from "./config-utils";
import { BuildMode } from "./config-utils";
import { addDiagnostic, makeDiagnostic } from "./diagnostics";
import { EnvVar } from "./environment";
import {
FeatureEnablement,
Feature,
} from "./feature-flags";
import { FeatureEnablement, Feature } from "./feature-flags";
import { isScannedLanguage, Language } from "./languages";
import { Logger } from "./logging";
import { DatabaseCreationTimings, EventReport } from "./status-report";
@ -120,9 +117,7 @@ export interface QueriesStatusReport {
event_reports?: EventReport[];
}
async function setupPythonExtractor(
logger: Logger,
) {
async function setupPythonExtractor(logger: Logger) {
const codeqlPython = process.env["CODEQL_PYTHON"];
if (codeqlPython === undefined || codeqlPython.length === 0) {
// If CODEQL_PYTHON is not set, no dependencies were installed, so we don't need to do anything

View file

@ -16,16 +16,8 @@ import { getGitHubVersion } from "./api-client";
import { CodeQL } from "./codeql";
import * as configUtils from "./config-utils";
import { EnvVar } from "./environment";
import {
Feature,
Features,
} from "./feature-flags";
import {
checkInstallPython311,
initCodeQL,
initConfig,
runInit,
} from "./init";
import { Feature, Features } from "./feature-flags";
import { checkInstallPython311, initCodeQL, initConfig, runInit } from "./init";
import { Language } from "./languages";
import { getActionsLogger, Logger } from "./logging";
import { parseRepositoryNwo } from "./repository";