Remove common/index.ts and vscode from common/logging

The `logging` part of `common` was exported in `common/index.ts` and
could be imported by importing `common`. I don't think this makes a lot
of sense, so I removed it.

The `common/logging/index.ts` also contained exports of the
`common/logging/vscode` directory, which means that importing
`common/logging` automatically brings in the `vscode` module. This
removes that export, so now there are two separate imports needed for
importing the common part and the `vscode` specific part. This should
make it easier to keep them separate and be more explicit about what
you're importing.
This commit is contained in:
Koen Vlaswinkel
2023-06-21 10:20:19 +02:00
parent c628454e25
commit eeb867624e
80 changed files with 115 additions and 103 deletions

View File

@@ -17,7 +17,7 @@ import { QLTestDiscovery } from "./qltest-discovery";
import { Event, EventEmitter, CancellationTokenSource } from "vscode";
import { DisposableObject } from "../pure/disposable-object";
import { CodeQLCliServer, TestCompleted } from "../codeql-cli/cli";
import { testLogger } from "../common";
import { testLogger } from "../common/logging/vscode";
import { TestRunner } from "./test-runner";
import {
FileTreeDirectory,