1
0
Fork 0

Fix namespace use in core.ts

pull/4/head
Jonathan Clem 2019-05-21 12:03:13 -04:00
parent 062a6bb046
commit c3ed3b105f
No known key found for this signature in database
GPG Key ID: 48C5B22E9FD6E80F
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ export function setSecret(name: string, val: string) {
* @param options optional. See InputOptions.
* @returns string
*/
export function getInput(name: string, options?: im.InputOptions): string {
export function getInput(name: string, options?: InputOptions): string {
const val: string =
process.env[`INPUT_${name.replace(' ', '_').toUpperCase()}`] || ''
if (options && options.required && !val) {