From 92afc32e34feafee0eae3540d69af6d721a84141 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 22 Sep 2019 10:16:56 +0900 Subject: [PATCH] npm run tsc --- lib/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index a8362ae..a00b600 100644 --- a/lib/index.js +++ b/lib/index.js @@ -32,10 +32,10 @@ function run() { }); try { const hugoVersion = core.getInput('hugo-version'); - console.log(`Hugo version: ${hugoVersion}`); if (hugoVersion === '' || hugoVersion === 'latest') { get_latest_version_1.default().then(function (latestVersion) { return __awaiter(this, void 0, void 0, function* () { + console.log(`Hugo version: ${latestVersion} (${hugoVersion})`); yield installer_1.default(latestVersion); yield dump(); }); @@ -44,6 +44,7 @@ function run() { }); } else { + console.log(`Hugo version: ${hugoVersion}`); yield installer_1.default(hugoVersion); yield dump(); }