From 5590a3a1ef48d005b40c34eb4359d25037f9f0a2 Mon Sep 17 00:00:00 2001 From: Austen Stone Date: Wed, 31 Jan 2024 12:38:56 -0500 Subject: [PATCH] Refactor getInputs function to use arrow function syntax --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 9883864..56579f8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ interface Input { token: string; } -export function getInputs(): Input { +const getInputs = (): Input => { const result = {} as Input; result.token = getInput("github-token"); if (!result.token || result.token === "") {