From dc2ed81cc7467eab39dd4658e8047f18c8048bf2 Mon Sep 17 00:00:00 2001 From: "Michael B. Gale" Date: Fri, 16 Oct 2026 22:04:05 +0100 Subject: [PATCH] Remove `InstanceURL` from `util.ts` --- src/setup/repository.ts | 3 +-- src/util.ts | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/setup/repository.ts b/src/setup/repository.ts index 341a27875..ff02a1560 100644 --- a/src/setup/repository.ts +++ b/src/setup/repository.ts @@ -2,13 +2,12 @@ import { ActionState } from "../action-common"; import { isRunningLocalAction } from "../actions-util"; import * as api from "../api-client"; import { ActionsEnvVars } from "../environment"; -import { GITHUB_DOTCOM_URL } from "../github"; +import { GITHUB_DOTCOM_URL, type InstanceURL } from "../github"; import { isRepositoryNwoStr, parseRepositoryNwo, type RepositoryNwoStr, } from "../repository"; -import { type InstanceURL } from "../util"; /** The NWO of the standard CodeQL Action repository. */ export const CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action"; diff --git a/src/util.ts b/src/util.ts index 032c158f4..7ba59c675 100644 --- a/src/util.ts +++ b/src/util.ts @@ -50,9 +50,6 @@ const BASE_DATABASE_OIDS_FILE_NAME = "base-database-oids.json"; */ const BROKEN_VERSIONS = ["0.0.0-20211207"]; -/** A string representing a GitHub instance. */ -export type InstanceURL = string; - /** * Default name of the debugging artifact. */