mirror of
https://github.com/Azure/k8s-set-context
synced 2025-09-23 20:18:04 +00:00

- Use more modern TypeScript conventions - Use JavaScript Kubernetes Client - Add unit tests - Add integration tests - Add TypeScript compile verify workflow - Switch codeowners
7 lines
270 B
TypeScript
7 lines
270 B
TypeScript
/**
|
|
* Returns error thrown by core.getInput when input required but not found
|
|
* @param inputName Name of input
|
|
* @returns Error with explanation message
|
|
*/
|
|
export const getRequiredInputError = (inputName) =>
|
|
Error(`Input required and not supplied: ${inputName}`);
|