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,
WholeFileLocation,
} 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

View File

@@ -1,6 +1,6 @@
import { CellValue } from "../common/bqrs-cli-types";
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 { convertNonPrintableChars } from "../pure/text-utils";
import type {

View File

@@ -6,7 +6,7 @@ import {
AnalysisMessage,
ResultSeverity,
} 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 { sendTelemetry } from "../telemetry";

View File

@@ -9,7 +9,7 @@ import {
HighlightedRegion,
ResultSeverity,
} 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 { CodeSnippetLine } from "./CodeSnippetLine";
import { sendTelemetry } from "../telemetry";