Autoformat
This commit is contained in:
parent
c7eea240e2
commit
9ba21c3639
2 changed files with 4 additions and 17 deletions
|
|
@ -17,10 +17,7 @@ import * as configUtils from "./config-utils";
|
||||||
import { BuildMode } from "./config-utils";
|
import { BuildMode } from "./config-utils";
|
||||||
import { addDiagnostic, makeDiagnostic } from "./diagnostics";
|
import { addDiagnostic, makeDiagnostic } from "./diagnostics";
|
||||||
import { EnvVar } from "./environment";
|
import { EnvVar } from "./environment";
|
||||||
import {
|
import { FeatureEnablement, Feature } from "./feature-flags";
|
||||||
FeatureEnablement,
|
|
||||||
Feature,
|
|
||||||
} from "./feature-flags";
|
|
||||||
import { isScannedLanguage, Language } from "./languages";
|
import { isScannedLanguage, Language } from "./languages";
|
||||||
import { Logger } from "./logging";
|
import { Logger } from "./logging";
|
||||||
import { DatabaseCreationTimings, EventReport } from "./status-report";
|
import { DatabaseCreationTimings, EventReport } from "./status-report";
|
||||||
|
|
@ -120,9 +117,7 @@ export interface QueriesStatusReport {
|
||||||
event_reports?: EventReport[];
|
event_reports?: EventReport[];
|
||||||
}
|
}
|
||||||
|
|
||||||
async function setupPythonExtractor(
|
async function setupPythonExtractor(logger: Logger) {
|
||||||
logger: Logger,
|
|
||||||
) {
|
|
||||||
const codeqlPython = process.env["CODEQL_PYTHON"];
|
const codeqlPython = process.env["CODEQL_PYTHON"];
|
||||||
if (codeqlPython === undefined || codeqlPython.length === 0) {
|
if (codeqlPython === undefined || codeqlPython.length === 0) {
|
||||||
// If CODEQL_PYTHON is not set, no dependencies were installed, so we don't need to do anything
|
// If CODEQL_PYTHON is not set, no dependencies were installed, so we don't need to do anything
|
||||||
|
|
|
||||||
|
|
@ -16,16 +16,8 @@ import { getGitHubVersion } from "./api-client";
|
||||||
import { CodeQL } from "./codeql";
|
import { CodeQL } from "./codeql";
|
||||||
import * as configUtils from "./config-utils";
|
import * as configUtils from "./config-utils";
|
||||||
import { EnvVar } from "./environment";
|
import { EnvVar } from "./environment";
|
||||||
import {
|
import { Feature, Features } from "./feature-flags";
|
||||||
Feature,
|
import { checkInstallPython311, initCodeQL, initConfig, runInit } from "./init";
|
||||||
Features,
|
|
||||||
} from "./feature-flags";
|
|
||||||
import {
|
|
||||||
checkInstallPython311,
|
|
||||||
initCodeQL,
|
|
||||||
initConfig,
|
|
||||||
runInit,
|
|
||||||
} from "./init";
|
|
||||||
import { Language } from "./languages";
|
import { Language } from "./languages";
|
||||||
import { getActionsLogger, Logger } from "./logging";
|
import { getActionsLogger, Logger } from "./logging";
|
||||||
import { parseRepositoryNwo } from "./repository";
|
import { parseRepositoryNwo } from "./repository";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue