Move packaging.ts to /packaging/packaging.ts
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user