Fail the build when arguments parameter is used

This commit is contained in:
daz 2024-07-22 07:47:38 -06:00
parent 81b4ac7741
commit fae6382622
No known key found for this signature in database

View file

@ -24,7 +24,7 @@ export function recordDeprecation(message: string): void {
export function failOnUseOfRemovedFeature(removalMessage: string, deprecationMessage: string = removalMessage): void {
const deprecation = new Deprecation(deprecationMessage)
core.error(`${removalMessage}. See ${deprecation.getDocumentationLink()}`)
core.setFailed(`${removalMessage}. See ${deprecation.getDocumentationLink()}`)
}
export function getDeprecations(): Deprecation[] {