Move location-link-utils.ts to /common

This commit is contained in:
Robert
2023-06-21 09:27:48 +01:00
parent 704ebf1ff6
commit 5b168dfb7e
5 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import {
LineColumnLocation, LineColumnLocation,
WholeFileLocation, WholeFileLocation,
} from "./bqrs-cli-types"; } from "./bqrs-cli-types";
import { createRemoteFileRef } from "../pure/location-link-utils"; import { createRemoteFileRef } from "../common/location-link-utils";
/** /**
* The CodeQL filesystem libraries use this pattern in `getURL()` predicates * The CodeQL filesystem libraries use this pattern in `getURL()` predicates

View File

@@ -1,6 +1,6 @@
import { CellValue } from "../common/bqrs-cli-types"; import { CellValue } from "../common/bqrs-cli-types";
import { tryGetRemoteLocation } from "../common/bqrs-utils"; import { tryGetRemoteLocation } from "../common/bqrs-utils";
import { createRemoteFileRef } from "../pure/location-link-utils"; import { createRemoteFileRef } from "../common/location-link-utils";
import { parseHighlightedLine, shouldHighlightLine } from "../pure/sarif-utils"; import { parseHighlightedLine, shouldHighlightLine } from "../pure/sarif-utils";
import { convertNonPrintableChars } from "../pure/text-utils"; import { convertNonPrintableChars } from "../pure/text-utils";
import type { import type {

View File

@@ -6,7 +6,7 @@ import {
AnalysisMessage, AnalysisMessage,
ResultSeverity, ResultSeverity,
} from "../../../variant-analysis/shared/analysis-result"; } from "../../../variant-analysis/shared/analysis-result";
import { createRemoteFileRef } from "../../../pure/location-link-utils"; import { createRemoteFileRef } from "../../../common/location-link-utils";
import { VerticalSpace } from "../VerticalSpace"; import { VerticalSpace } from "../VerticalSpace";
import { sendTelemetry } from "../telemetry"; import { sendTelemetry } from "../telemetry";

View File

@@ -9,7 +9,7 @@ import {
HighlightedRegion, HighlightedRegion,
ResultSeverity, ResultSeverity,
} from "../../../variant-analysis/shared/analysis-result"; } from "../../../variant-analysis/shared/analysis-result";
import { createRemoteFileRef } from "../../../pure/location-link-utils"; import { createRemoteFileRef } from "../../../common/location-link-utils";
import { CodeSnippetMessage } from "./CodeSnippetMessage"; import { CodeSnippetMessage } from "./CodeSnippetMessage";
import { CodeSnippetLine } from "./CodeSnippetLine"; import { CodeSnippetLine } from "./CodeSnippetLine";
import { sendTelemetry } from "../telemetry"; import { sendTelemetry } from "../telemetry";