2026-03-03 16:35:16 -08:00

8 lines
285 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: string): Error =>
Error(`Input required and not supplied: ${inputName}`)