From 2eb9c97d2335e679c450cedafdc497aeea56fb07 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sat, 21 Sep 2019 08:12:24 +0900 Subject: [PATCH] refactor: change Promise to Promise --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 267ef4b..00f0229 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ import installer from "./installer"; async function run() { try { getLatestVersion().then( - async function(latestVersion): Promise { + async function(latestVersion): Promise { const hugoVersion: string = core.getInput("hugo-version"); console.log(`Hugo version: ${hugoVersion}`); const version = (v: string, latestVersion: string): string => {