Remove deprecated input parameters

This commit is contained in:
daz
2024-07-19 14:56:50 -06:00
parent db8e69bc03
commit ded8009fcf
5 changed files with 24 additions and 81 deletions

View File

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