This commit is contained in:
Rob Herley
2023-12-05 18:47:37 +00:00
committed by GitHub
parent b9872153b8
commit a3053b5cc2
2 changed files with 7 additions and 7 deletions

View File

@@ -27,11 +27,11 @@ export class ArtifactNotFoundError extends Error {
}
}
export class GHESNotSupportError extends Error {
export class GHESNotSupportedError extends Error {
constructor(
message = '@actions/artifact v2.0.0+ and download-artifact@v4+ are not currently supported on GHES.'
) {
super(message)
this.name = 'NotSupportedGHESError'
this.name = 'GHESNotSupportedError'
}
}