diff --git a/src/analyze.ts b/src/analyze.ts index 3f7a944d4..8098530b7 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -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 diff --git a/src/init-action.ts b/src/init-action.ts index f25c03677..f0cc61fa3 100644 --- a/src/init-action.ts +++ b/src/init-action.ts @@ -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";