From c8c7069f3729ff74fa434f04c5a225d2e155e593 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Sun, 8 Dec 2019 15:38:59 +0900 Subject: [PATCH] Run ncc --- lib/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/index.js b/lib/index.js index 6ca74b3..4f3b3a5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1907,7 +1907,7 @@ const get_latest_version_1 = __importDefault(__webpack_require__(307)); const installer_1 = __importDefault(__webpack_require__(923)); function run() { return __awaiter(this, void 0, void 0, function* () { - const dump = () => __awaiter(this, void 0, void 0, function* () { + const showVersion = () => __awaiter(this, void 0, void 0, function* () { yield exec.exec('hugo version'); }); try { @@ -1917,7 +1917,7 @@ function run() { return __awaiter(this, void 0, void 0, function* () { console.log(`Hugo version: ${latestVersion} (${hugoVersion})`); yield installer_1.default(latestVersion); - yield dump(); + yield showVersion(); }); }, function (error) { core.setFailed(error); @@ -1926,7 +1926,7 @@ function run() { else { console.log(`Hugo version: ${hugoVersion}`); yield installer_1.default(hugoVersion); - yield dump(); + yield showVersion(); } } catch (error) {