Skip to content

Commit dc2ed81

Browse files
committed
Remove InstanceURL from util.ts
1 parent 02283e9 commit dc2ed81

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎src/setup/repository.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ import { ActionState } from "../action-common";
22
import { isRunningLocalAction } from "../actions-util";
33
import * as api from "../api-client";
44
import { ActionsEnvVars } from "../environment";
5-
import { GITHUB_DOTCOM_URL } from "../github";
5+
import { GITHUB_DOTCOM_URL, type InstanceURL } from "../github";
66
import {
77
isRepositoryNwoStr,
88
parseRepositoryNwo,
99
type RepositoryNwoStr,
1010
} from "../repository";
11-
import { type InstanceURL } from "../util";
1211

1312
/** The NWO of the standard CodeQL Action repository. */
1413
export const CODEQL_DEFAULT_ACTION_REPOSITORY = "github/codeql-action";

‎src/util.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ const BASE_DATABASE_OIDS_FILE_NAME = "base-database-oids.json";
5050
*/
5151
const BROKEN_VERSIONS = ["0.0.0-20211207"];
5252

53-
/** A string representing a GitHub instance. */
54-
export type InstanceURL = string;
55-
5653
/**
5754
* Default name of the debugging artifact.
5855
*/

0 commit comments

Comments
 (0)