[go: nahoru, domu]

Skip to content

Commit

Permalink
Autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusWL committed Apr 4, 2024
1 parent c7eea24 commit 9ba21c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
9 changes: 2 additions & 7 deletions src/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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
Expand Down
12 changes: 2 additions & 10 deletions src/init-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 9ba21c3

Please sign in to comment.