Move packaging.ts to /packaging/packaging.ts

This commit is contained in:
Charis Kyriakou
2023-04-26 14:11:41 +00:00
parent 8c9c38e1ae
commit 38af88805c
3 changed files with 15 additions and 15 deletions

View File

@@ -92,7 +92,7 @@ import { CompareView } from "./compare/compare-view";
import { initializeTelemetry } from "./telemetry";
import { ProgressCallback, withProgress } from "./progress";
import { CodeQlStatusBarHandler } from "./status-bar";
import { getPackagingCommands } from "./packaging";
import { getPackagingCommands } from "./packaging/packaging";
import { HistoryItemLabelProvider } from "./query-history/history-item-label-provider";
import { EvalLogViewer } from "./query-evaluation-logging";
import { SummaryLanguageSupport } from "./log-insights/summary-language-support";

View File

@@ -1,20 +1,20 @@
import { CodeQLCliServer } from "./cli";
import { CodeQLCliServer } from "../cli";
import {
getOnDiskWorkspaceFolders,
showAndLogExceptionWithTelemetry,
showAndLogInformationMessage,
} from "./helpers";
} from "../helpers";
import { QuickPickItem, window } from "vscode";
import {
ProgressCallback,
UserCancellationException,
withProgress,
} from "./progress";
import { extLogger } from "./common";
import { asError, getErrorStack } from "./pure/helpers-pure";
import { redactableError } from "./pure/errors";
import { PACKS_BY_QUERY_LANGUAGE } from "./common/query-language";
import { PackagingCommands } from "./common/commands";
} from "../progress";
import { extLogger } from "../common";
import { asError, getErrorStack } from "../pure/helpers-pure";
import { redactableError } from "../pure/errors";
import { PACKS_BY_QUERY_LANGUAGE } from "../common/query-language";
import { PackagingCommands } from "../common/commands";
type PackagingOptions = {
cliServer: CodeQLCliServer;

View File

@@ -1,16 +1,16 @@
import { window } from "vscode";
import { join } from "path";
import { CodeQLCliServer } from "../../../src/cli";
import { getErrorMessage } from "../../../src/pure/helpers-pure";
import { CodeQLCliServer } from "../../../../src/cli";
import { getErrorMessage } from "../../../../src/pure/helpers-pure";
import * as helpers from "../../../src/helpers";
import * as helpers from "../../../../src/helpers";
import {
handleDownloadPacks,
handleInstallPackDependencies,
} from "../../../src/packaging";
import { mockedQuickPickItem } from "../utils/mocking.helpers";
import { getActivatedExtension } from "../global.helper";
} from "../../../../src/packaging/packaging";
import { mockedQuickPickItem } from "../../utils/mocking.helpers";
import { getActivatedExtension } from "../../global.helper";
describe("Packaging commands", () => {
let cli: CodeQLCliServer;