GHES 3.1 has been deprecated end of June 2022.
Therefore, we do not need to support the workaround for action telemetry anymore.
This commit is contained in:
parent
96c8872f06
commit
f3a27d6945
9 changed files with 4 additions and 70 deletions
10
src/util.ts
10
src/util.ts
|
|
@ -605,16 +605,6 @@ export function isHTTPError(arg: any): arg is HTTPError {
|
|||
return arg?.status !== undefined && Number.isInteger(arg.status);
|
||||
}
|
||||
|
||||
export function isGitHubGhesVersionBelow(
|
||||
gitHubVersion: GitHubVersion,
|
||||
expectedVersion: string
|
||||
): boolean {
|
||||
return (
|
||||
gitHubVersion.type === GitHubVariant.GHES &&
|
||||
semver.lt(gitHubVersion.version, expectedVersion)
|
||||
);
|
||||
}
|
||||
|
||||
let cachedCodeQlVersion: undefined | string = undefined;
|
||||
|
||||
export function cacheCodeQlVersion(version: string): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue