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